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: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') {
|
||||||
|
Reference in New Issue
Block a user