delete systemapi remove common

Signed-off-by: wangqing <wangqing136@huawei.com>
This commit is contained in:
wangqing 2024-04-18 14:59:55 +08:00
parent 66937f6c6b
commit 3c40677b6e

View File

@ -223,7 +223,7 @@ function processFileNameWithoutExt(filePath) {
function tsTransform(utFiles, callback) {
utFiles.forEach((url) => {
const apiBaseName = path.basename(url);
if (/\.json/.test(url) || apiBaseName === 'index-full.d.ts' || apiBaseName === 'common.d.ts') {
if (/\.json/.test(url) || apiBaseName === 'index-full.d.ts') {
// 特殊类型文件处理
const content = fs.readFileSync(url, 'utf-8');
writeFile(url, content);