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();
|
.write();
|
||||||
|
|
||||||
// exit with code 1 if any of the checks report failure
|
// exit with code 1 if any of the checks report failure
|
||||||
if (checks.some(({ up }) => !up)) {
|
if (entry.checks.some(({ up }) => !up)) {
|
||||||
console.log(checks);
|
console.log(entry.checks);
|
||||||
process.exit(1);
|
process.exit(1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Reference in New Issue