From 83274351e5fcaddae6b056b31f074dc578fbe2dc Mon Sep 17 00:00:00 2001 From: Mike Maietta Date: Fri, 15 Nov 2024 12:00:13 -0800 Subject: [PATCH] fix build --- packages/app-builder-lib/src/macPackager.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/packages/app-builder-lib/src/macPackager.ts b/packages/app-builder-lib/src/macPackager.ts index ea67b6b0a61..fb4031a9e40 100644 --- a/packages/app-builder-lib/src/macPackager.ts +++ b/packages/app-builder-lib/src/macPackager.ts @@ -411,7 +411,7 @@ export class MacPackager extends PlatformPackager { } //noinspection JSMethodCanBeStatic - protected async doSign(opts: SignOptions, customSignOptions: MacConfiguration, identity: Identity): Promise { + protected async doSign(opts: SignOptions, customSignOptions: MacConfiguration, identity: Identity | null): Promise { const customSign = await resolveFunction(this.appInfo.type, customSignOptions.sign, "sign") const { app, platform, type, provisioningProfile } = opts @@ -420,8 +420,8 @@ export class MacPackager extends PlatformPackager { file: log.filePath(app), platform, type, - identityName: identity.name || "none", - identityHash: identity.hash || "none", + identityName: identity?.name || "none", + identityHash: identity?.hash || "none", provisioningProfile: provisioningProfile || "none", }, customSign ? "executing custom sign" : "signing"