Update scripts
This commit is contained in:
@@ -154,9 +154,14 @@ function drawTable() {
|
||||
}
|
||||
}
|
||||
|
||||
function onFinish() {
|
||||
function onFinish(error) {
|
||||
clearInterval(interval)
|
||||
|
||||
if (error) {
|
||||
console.error(error)
|
||||
process.exit(1)
|
||||
}
|
||||
|
||||
drawTable()
|
||||
|
||||
console.log(chalk.red(`\n${errors + warnings} problems (${errors} errors, ${warnings} warnings)`))
|
||||
|
||||
Reference in New Issue
Block a user