use entry.checks
This commit is contained in:
parent
00a3321009
commit
c241178a4c
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue