forked from MapComplete/MapComplete
Small tweaks to the deploy scripts
This commit is contained in:
parent
4e1fc46ff2
commit
a8aaf4b219
10 changed files with 65 additions and 19 deletions
|
@ -117,5 +117,9 @@ if (layerErrorCount + themeErrorCount == 0) {
|
|||
console.log("All good!")
|
||||
} else {
|
||||
const msg = (`Found ${layerErrorCount} errors in the layers; ${themeErrorCount} errors in the themes`)
|
||||
throw msg;
|
||||
if(process.argv.indexOf("--no-fail") >= 0){
|
||||
console.log(msg)
|
||||
}else{
|
||||
throw msg;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue