Make sure build error is printed.

This commit is contained in:
Dillon Kearns 2022-02-23 16:25:40 -08:00
parent 6f2a29a1f1
commit d48d062ed7

View File

@ -116,8 +116,8 @@ async function run(options) {
}
const cliDone = runCli(options);
await cliDone;
} catch (error) {
console.error(error);
buildError = true;
try {
const reviewOutput = JSON.parse(await runElmReview());