Skip to content

Commit e4b0829

Browse files
committed
fix: fix log parsed options
1 parent c4f1f0b commit e4b0829

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/vite/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -463,8 +463,8 @@ export async function electronWithUpdater(
463463
...electronPluginOptions,
464464
updater: { buildAsarOption, buildEntryOption, buildVersionOption },
465465
},
466-
(key, value) => ((key === 'privateKey' || key === 'cert') && shouldShowKey)
467-
? `<${key.toUpperCase()}>`
466+
(key, value) => (key === 'privateKey' || key === 'cert')
467+
? shouldShowKey ? value : `<${key.toUpperCase()}>`
468468
: value,
469469
2,
470470
),

0 commit comments

Comments
 (0)