We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f137193 commit 81b7e46Copy full SHA for 81b7e46
packages/electron-builder/src/publish/PublishManager.ts
@@ -401,8 +401,8 @@ function sha256(file: string) {
401
function isPullRequest() {
402
// TRAVIS_PULL_REQUEST is set to the pull request number if the current job is a pull request build, or false if it’s not.
403
function isSet(value: string) {
404
- return value != null && value !== "false"
+ return value && value !== "false"
405
}
406
407
return isSet(process.env.TRAVIS_PULL_REQUEST) || isSet(process.env.CI_PULL_REQUEST) || isSet(process.env.CI_PULL_REQUESTS)
408
-}
+}
0 commit comments