Skip to content

Commit 796e1a0

Browse files
fix: cscIKeyPassword must support empty string arguments (#8653)
1 parent f84a083 commit 796e1a0

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/fresh-camels-smash.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"app-builder-lib": patch
3+
---
4+
5+
fix: cscIKeyPassword must support empty string arguments

packages/app-builder-lib/src/codeSign/macCodeSign.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -198,7 +198,7 @@ export async function createKeychain({ tmpDir, cscLink, cscKeyPassword, cscILink
198198
BluebirdPromise.mapSeries(securityCommands, it => exec("/usr/bin/security", it)),
199199
])
200200
const cscPasswords: Array<string> = [cscKeyPassword]
201-
if (cscIKeyPassword) {
201+
if (cscIKeyPassword != null) {
202202
cscPasswords.push(cscIKeyPassword)
203203
}
204204
return await importCerts(keychainFile, certPaths, cscPasswords)

0 commit comments

Comments
 (0)