log checks on failure

This commit is contained in:
Karol Wypchlo 2021-06-16 12:07:51 +02:00
parent 17dca691a4
commit 00a3321009
1 changed files with 1 additions and 0 deletions

View File

@ -41,6 +41,7 @@ require("yargs/yargs")(process.argv.slice(2)).command(
// exit with code 1 if any of the checks report failure
if (checks.some(({ up }) => !up)) {
console.log(checks);
process.exit(1);
}
}