mirror of https://github.com/iptv-org/epg.git
Update validate.ts
This commit is contained in:
parent
33e58da0ef
commit
38102823f3
|
@ -91,7 +91,9 @@ async function main() {
|
|||
`${totalProblems} problems (${totalErrors} errors, ${totalWarnings} warnings) in ${totalFiles} file(s)`
|
||||
)
|
||||
)
|
||||
process.exit(1)
|
||||
if (totalErrors > 0) {
|
||||
process.exit(1)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue