Small tweaks to the deploy scripts

This commit is contained in:
Pieter Vander Vennet 2021-04-10 15:01:28 +02:00
parent 4e1fc46ff2
commit a8aaf4b219
10 changed files with 65 additions and 19 deletions

View file

@ -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;
}
}