Skip to content

Commit

Permalink
fix(packager): return success status from doSign function calls
Browse files Browse the repository at this point in the history
  • Loading branch information
mmaietta committed Mar 4, 2023
1 parent eb842f7 commit 48747ac
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/app-builder-lib/src/winPackager.ts
Original file line number Diff line number Diff line change
Expand Up @@ -210,13 +210,13 @@ export class WinPackager extends PlatformPackager<WindowsConfiguration> {
const cscInfo = await this.cscInfo.value
if (cscInfo == null) {
if (this.platformSpecificBuildOptions.sign != null) {
return await sign(signOptions, this)
return sign(signOptions, this)
} else if (this.forceCodeSigning) {
throw new InvalidConfigurationError(
`App is not signed and "forceCodeSigning" is set to true, please ensure that code signing configuration is correct, please see https://electron.build/code-signing`
)
}
return true
return false
}

if (logMessagePrefix == null) {
Expand Down

0 comments on commit 48747ac

Please sign in to comment.