print failures

This commit is contained in:
Karol Wypchlo 2021-06-16 12:14:41 +02:00
parent c241178a4c
commit 27c38082ec
1 changed files with 1 additions and 1 deletions

View File

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