Explicitly stop process when notarization returns error
This commit is contained in:
@@ -12,8 +12,11 @@ const readdir = pify(readdirCallback);
|
||||
|
||||
/* tslint:disable:no-console */
|
||||
|
||||
// tslint:disable-next-line:no-floating-promises
|
||||
go();
|
||||
go().catch(error => {
|
||||
console.error(error.stack);
|
||||
|
||||
process.exit(1);
|
||||
});
|
||||
|
||||
async function go() {
|
||||
if (process.platform !== 'darwin') {
|
||||
|
Reference in New Issue
Block a user