Taking typos out one line at a time

This commit is contained in:
Wesley Wigham 2019-06-05 16:24:02 -07:00
parent 96a250502c
commit e6fde9e809
No known key found for this signature in database
GPG key ID: D59F87F60C5400C9

View file

@ -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)