Skip to content

Commit

Permalink
fix(s3): update forcePathStyle check to use null comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
0xlau committed Dec 15, 2024
1 parent b2dff93 commit a7d9f89
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/electron-publish/src/s3/s3Publisher.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ export class S3Publisher extends BaseS3Publisher {
args.push("--encryption", this.info.encryption)
}

if (this.info.forcePathStyle != undefined) {
if (this.info.forcePathStyle != null) {
args.push("--forcePathStyle", this.info.forcePathStyle ? "true" : "false")
}
}
Expand Down

0 comments on commit a7d9f89

Please sign in to comment.