use entry.checks

This commit is contained in:
Karol Wypchlo 2021-06-16 12:09:56 +02:00
parent 00a3321009
commit c241178a4c
1 changed files with 2 additions and 2 deletions

View File

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