mirror of
https://github.com/iptv-org/iptv.git
synced 2025-05-11 17:40:03 -04:00
Update scripts
This commit is contained in:
parent
51283c736e
commit
94aec6bff5
2 changed files with 8 additions and 3 deletions
|
@ -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)`))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue