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 6, 2019
commit bc9f16bd1c1edc40f524c09cfb32dafc8a2f6396
2 changes: 1 addition & 1 deletion scripts/diff.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ exec(`git clone https://github.com/tensorflow/tfjs ${CLONE_CURRENT_PATH}`);
shell.cd(CLONE_CURRENT_PATH);
exec(`git checkout ${branchName}`);
const mergeBase = exec(`git merge-base master ${branchName}`).stdout.trim();
const res = shell.exec(`git checkout ${commitSha}`, opt);
const res = shell.exec(`git checkout ${commitSha}`);
if (!ignoreCode && res.code !== 0) {
console.log(`${commitSha} does not exist. PR coming from a fork.`)
}
Expand Down