Skip to content

Commit b1c2ca6

Browse files
authored
Replace ||= with correct operation
1 parent 00cba7b commit b1c2ca6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/heuristics/distance.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ module.exports.inject = function inject(bot, Set) {
176176
} else
177177

178178
// don't stop doing ceiling checks in current iteration
179-
ceilingCheck ||= false
179+
ceilingCheck = ceilingCheck || false
180180
}
181181
}
182182

@@ -224,4 +224,4 @@ module.exports.inject = function inject(bot, Set) {
224224
return 0
225225
}
226226
}
227-
}
227+
}

0 commit comments

Comments
 (0)