forked from MapComplete/MapComplete
Scripts: actually stop the build if the layer contains an error
This commit is contained in:
parent
94412c996b
commit
2fdec3769a
3 changed files with 6 additions and 8 deletions
|
@ -24,7 +24,7 @@ export default abstract class Script {
|
|||
})
|
||||
.catch((e) => {
|
||||
console.log(`ERROR in script ${process.argv[1]}:`, e)
|
||||
// process.exit(1)
|
||||
process.exit(1)
|
||||
})
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue