Skip to content

Commit

Permalink
fix: Fixes result.code check blocking notarytool log diagnostics
Browse files Browse the repository at this point in the history
  • Loading branch information
Connor G Meehan committed Apr 30, 2024
1 parent 853570d commit a7698ef
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/notarytool.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,9 +83,6 @@ export async function notarizeAndWaitForNotaryTool(opts: NotaryToolStartOptions)
];

const result = await spawn('xcrun', notarizeArgs);
if (result.code !== 0) {
throw new Error(`Failed to notarize via notarytool\n\n${result.output}`)
}
let parsed: any;
try {
parsed = JSON.parse(result.output.trim());
Expand Down

0 comments on commit a7698ef

Please sign in to comment.