Skip to content

Commit

Permalink
clarified the circleci checks
Browse files Browse the repository at this point in the history
  • Loading branch information
Brendan Forster committed Sep 17, 2018
1 parent abf6106 commit 4f8ea90
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion script/build-platforms.ts
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ export function getSha() {
}

export function isRunningOnFork() {
if (isCircleCI() && process.env.CIRCLE_PR_USERNAME == null) {
if (isCircleCI() && process.env.CIRCLE_PR_USERNAME != null) {
return true
}

Expand Down
2 changes: 1 addition & 1 deletion script/build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ generateLicenseMetadata(outRoot)

moveAnalysisFiles()

if (process.platform === 'darwin' && isCircleCI() && !isRunningOnFork()) {
if (isCircleCI() && !isRunningOnFork()) {
console.log('Setting up keychain…')
cp.execSync(path.join(__dirname, 'setup-macos-keychain'))
}
Expand Down

0 comments on commit 4f8ea90

Please sign in to comment.