Update scripts

This commit is contained in:
freearhey committed 2025-04-23 23:51:39 +03:00
1 parent b0a299fad7
commit 01c5aecb46
2 files changed
+17 -11

No files matched your search

+7 -3
View File
@@ -164,10 +164,14 @@ function onFinish(error) {
drawTable()
console.log(chalk.red(`\n${errors + warnings} problems (${errors} errors, ${warnings} warnings)`))
if (errors > 0 || warnings > 0) {
console.log(
chalk.red(`\n${errors + warnings} problems (${errors} errors, ${warnings} warnings)`)
)
if (errors > 0) {
process.exit(1)
if (errors > 0) {
process.exit(1)
}
}
process.exit(0)