Update validate.ts
This commit is contained in:
1 parent
33e58da0ef
commit
38102823f3
1 file changed
+3
-1
@@ -91,7 +91,9 @@ async function main() {
|
|||||||
`${totalProblems} problems (${totalErrors} errors, ${totalWarnings} warnings) in ${totalFiles} file(s)`
|
`${totalProblems} problems (${totalErrors} errors, ${totalWarnings} warnings) in ${totalFiles} file(s)`
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
process.exit(1)
|
if (totalErrors > 0) {
|
||||||
|
process.exit(1)
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user