Skip to content

Commit

Permalink
fix: cscIKeyPassword must support empty string arguments (#8653)
Browse files Browse the repository at this point in the history
  • Loading branch information
IsaacAderogba authored Nov 1, 2024
1 parent f84a083 commit 796e1a0
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/fresh-camels-smash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"app-builder-lib": patch
---

fix: cscIKeyPassword must support empty string arguments
2 changes: 1 addition & 1 deletion packages/app-builder-lib/src/codeSign/macCodeSign.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,7 +198,7 @@ export async function createKeychain({ tmpDir, cscLink, cscKeyPassword, cscILink
BluebirdPromise.mapSeries(securityCommands, it => exec("/usr/bin/security", it)),
])
const cscPasswords: Array<string> = [cscKeyPassword]
if (cscIKeyPassword) {
if (cscIKeyPassword != null) {
cscPasswords.push(cscIKeyPassword)
}
return await importCerts(keychainFile, certPaths, cscPasswords)
Expand Down

0 comments on commit 796e1a0

Please sign in to comment.