Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e6fde9e

Browse filesBrowse files
committed
Taking typos out one line at a time
1 parent 96a2505 commit e6fde9e
Copy full SHA for e6fde9e

1 file changed

+1-1Lines changed: 1 addition & 1 deletion

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎scripts/update-experimental-branches.js‎

Copy file name to clipboardExpand all lines: scripts/update-experimental-branches.js
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ async function main() {
8484
const mergeTree = runSequence([
8585
["git", ["merge-tree", mergeBase.trim(), branch, "experimental"]]
8686
]);
87-
if (mergeTree.indexOf(`===${"="}===`)) { // 7 equals is the center of the merge conflict marker
87+
if (mergeTree.indexOf(`===${"="}===`) >= 0) { // 7 equals is the center of the merge conflict marker
8888
throw new Error(`Merge conflict detected involving PR ${branch} with other experiment`);
8989
}
9090
// Merge (always producing a merge commit)

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.