Exit with exit code on exception

Otherwise running the check script will just exit with 0 which is
pointless.
This commit is contained in:
David Baker 2020-02-27 21:37:07 +00:00
parent 18dbad4e8c
commit 8b8203cea8

View file

@ -133,4 +133,4 @@ async function main() {
}
}
main();
main().catch(process.exit(1));