Update validate.ts

This commit is contained in:
freearhey
2025-07-28 04:37:21 +03:00
parent 33e58da0ef
commit 38102823f3

View File

@@ -91,8 +91,10 @@ async function main() {
`${totalProblems} problems (${totalErrors} errors, ${totalWarnings} warnings) in ${totalFiles} file(s)` `${totalProblems} problems (${totalErrors} errors, ${totalWarnings} warnings) in ${totalFiles} file(s)`
) )
) )
if (totalErrors > 0) {
process.exit(1) process.exit(1)
} }
}
} }
main() main()