UI CI exit 1 if there's an error (#7399)

* exit 1 if there's an error

* fix failing confirm tests

* still need to exit the process 😂
This commit is contained in:
Matthew Irish
2019-10-01 14:57:37 -05:00
committed by GitHub
parent a1aa591281
commit 0e54f829ee
7 changed files with 12 additions and 9 deletions

View File

@@ -94,11 +94,12 @@ async function processLines(input, eachLine = () => {}) {
}
} catch (error) {
console.log(error);
process.exit(1);
} finally {
process.exit(0);
}
} catch (error) {
console.log(error);
process.exit(0);
process.exit(1);
}
})();