mirror of
https://github.com/iptv-org/epg
synced 2025-12-17 10:56:57 -05:00
Update validate.ts
This commit is contained in:
@@ -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)
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user