Skip to content

Commit

Permalink
Throw a different error code when code signing fails (sindresorhus#29)
Browse files Browse the repository at this point in the history
  • Loading branch information
fcastilloec authored and sindresorhus committed Nov 12, 2018
1 parent 0c68dc9 commit 8a77dd1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ ee.on('finish', async () => {
ora.succeed('DMG created');
} catch (error) {
ora.fail(`Code signing failed. The DMG is fine, just not code signed.\n${error.stderr.trim()}`);
process.exit(1);
process.exit(2);
}
});

Expand Down

0 comments on commit 8a77dd1

Please sign in to comment.