Explicitly stop process when notarization returns error
This commit is contained in:
parent
e716652b94
commit
fb11ac50d2
1 changed files with 5 additions and 2 deletions
|
@ -12,8 +12,11 @@ const readdir = pify(readdirCallback);
|
||||||
|
|
||||||
/* tslint:disable:no-console */
|
/* tslint:disable:no-console */
|
||||||
|
|
||||||
// tslint:disable-next-line:no-floating-promises
|
go().catch(error => {
|
||||||
go();
|
console.error(error.stack);
|
||||||
|
|
||||||
|
process.exit(1);
|
||||||
|
});
|
||||||
|
|
||||||
async function go() {
|
async function go() {
|
||||||
if (process.platform !== 'darwin') {
|
if (process.platform !== 'darwin') {
|
||||||
|
|
Loading…
Reference in a new issue