Update validate.ts

This commit is contained in:
freearhey committed 2025-07-28 04:37:21 +03:00
1 parent 33e58da0ef
commit 38102823f3
1 file changed
+2
+2
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()