diff --git a/scripts/vsh/src/publint/index.ts b/scripts/vsh/src/publint/index.ts index d0786737d..ee8da3b4b 100644 --- a/scripts/vsh/src/publint/index.ts +++ b/scripts/vsh/src/publint/index.ts @@ -168,6 +168,7 @@ function printResult( `${UNICODE.FAILURE} ${totalCount} problem (${errorCount} errors, ${warningCount} warnings, ${suggestionsCount} suggestions)`, ), ); + // oxlint-disable-next-line no-unused-expressions !check && process.exit(1); } else { consola.log(colors.green(`${UNICODE.SUCCESS} No problem`));