xingyu4j 3 месяцев назад
Родитель
Сommit
5df6c32d04
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      scripts/vsh/src/publint/index.ts

+ 1 - 0
scripts/vsh/src/publint/index.ts

@@ -168,6 +168,7 @@ function printResult(
         `${UNICODE.FAILURE} ${totalCount} problem (${errorCount} errors, ${warningCount} warnings, ${suggestionsCount} suggestions)`,
         `${UNICODE.FAILURE} ${totalCount} problem (${errorCount} errors, ${warningCount} warnings, ${suggestionsCount} suggestions)`,
       ),
       ),
     );
     );
+    // oxlint-disable-next-line no-unused-expressions
     !check && process.exit(1);
     !check && process.exit(1);
   } else {
   } else {
     consola.log(colors.green(`${UNICODE.SUCCESS} No problem`));
     consola.log(colors.green(`${UNICODE.SUCCESS} No problem`));