Skip to content

Commit

Permalink
chore: resolve comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jonluca committed Nov 8, 2023
1 parent 0248633 commit 52cf815
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@ node_modules
lib
*.log
src/example.ts
.idea
5 changes: 3 additions & 2 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ export { NotarizeOptions };
export { validateLegacyAuthorizationArgs as validateAuthorizationArgs } from './validate-args';

export async function notarize({ appPath, ...otherOptions }: NotarizeOptions) {

await checkSignatures({ appPath });

if (otherOptions.tool === 'legacy') {
console.warn(
'Notarizing using the legacy altool system. The altool system will be disabled on November 1 2023. Please switch to the notarytool system before then.',
Expand Down Expand Up @@ -51,8 +54,6 @@ export async function notarize({ appPath, ...otherOptions }: NotarizeOptions) {
} as NotaryToolStartOptions);
}

await checkSignatures({ appPath });

await retry(() => stapleApp({ appPath }), {
retries: 3,
});
Expand Down

0 comments on commit 52cf815

Please sign in to comment.