print failures
This commit is contained in:
parent
c241178a4c
commit
27c38082ec
|
@ -41,7 +41,7 @@ require("yargs/yargs")(process.argv.slice(2)).command(
|
|||
|
||||
// exit with code 1 if any of the checks report failure
|
||||
if (entry.checks.some(({ up }) => !up)) {
|
||||
console.log(entry.checks);
|
||||
console.log(entry.checks.filter(({ up }) => !up));
|
||||
process.exit(1);
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue