Skip to content

Commit

Permalink
Taking typos out one line at a time
Browse files Browse the repository at this point in the history
  • Loading branch information
weswigham committed Jun 5, 2019
1 parent 96a2505 commit e6fde9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update-experimental-branches.js
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ async function main() {
const mergeTree = runSequence([
["git", ["merge-tree", mergeBase.trim(), branch, "experimental"]]
]);
if (mergeTree.indexOf(`===${"="}===`)) { // 7 equals is the center of the merge conflict marker
if (mergeTree.indexOf(`===${"="}===`) >= 0) { // 7 equals is the center of the merge conflict marker
throw new Error(`Merge conflict detected involving PR ${branch} with other experiment`);
}
// Merge (always producing a merge commit)
Expand Down

0 comments on commit e6fde9e

Please sign in to comment.