diff --git a/build-tools/handleApiFiles.js b/build-tools/handleApiFiles.js index 50b633576c7559bca90058b8eaf43605bb7a5174..2cad66e2f00b5ba1d7f8127c420f42fdf6aa8326 100755 --- a/build-tools/handleApiFiles.js +++ b/build-tools/handleApiFiles.js @@ -403,9 +403,6 @@ function handleNoTagFileInSecondType(sourceFile, outputPath, fullPath) { const fileContent = sourceFile.getFullText(); let newContent = ''; // API未标@arkts 1.2或@arkts 1.1&1.2标签,删除文件 - // TODO: 主干挑单临时处理 - writeFile(outputPath, saveLatestJsDoc(fileContent)); - return; if (!arktsTagRegx.test(fileContent)) { if (fullPath.endsWith('.d.ts') && hasEtsFile(fullPath) || fullPath.endsWith('.d.ets') && hasTsFile(fullPath)) { newContent = saveLatestJsDoc(fileContent);