diff --git a/ts/build/notarize.ts b/ts/build/notarize.ts index e50938f4c1..f3d4b008ea 100644 --- a/ts/build/notarize.ts +++ b/ts/build/notarize.ts @@ -54,16 +54,15 @@ async function go() { console.log(` primaryBundleId: ${appBundleId}`); console.log(` username: ${appleId}`); - await Promise.all( - appPaths.map(async appPath => { - return notarize({ - appBundleId, - appPath, - appleId, - appleIdPassword, - }); - }) - ); + for (const appPath of appPaths) { + // eslint-disable-next-line no-await-in-loop + await notarize({ + appBundleId, + appPath, + appleId, + appleIdPassword, + }); + } } const IS_DMG = /\.dmg$/;