Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
save
  • Loading branch information
Nikhil Thorat committed Sep 9, 2019
commit 8cf5f61932d6d800724e05374259631b03ae9cbe
4 changes: 2 additions & 2 deletions scripts/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ console.log(); // Break up the console for readability.
shell.cd(CLONE_PATH);

// If we cannot check out the commit then this PR is coming from a fork.
const res = shell.exec(`git checkout ${commitSha}`);
const res = shell.exec(`git checkout ${commitSha}`, {silent: true});
const isPullRequestFromFork = res.code !== 0;

// Only checkout the merge base if the pull requests comes from a
Expand All @@ -68,8 +68,8 @@ if (!isPullRequestFromFork) {
} else {
console.log('PR is coming from a fork. Diffing against master.');
}

shell.cd('..');
console.log(); // Break up the console for readability.

let triggerAllBuilds = false;
let whitelistDiffOutput = [];
Expand Down