aboutsummaryrefslogtreecommitdiff
path: root/bin/reduceRangeDuplicates.js
diff options
context:
space:
mode:
Diffstat (limited to 'bin/reduceRangeDuplicates.js')
-rwxr-xr-xbin/reduceRangeDuplicates.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/reduceRangeDuplicates.js b/bin/reduceRangeDuplicates.js
index b5b85ac..f51ae0a 100755
--- a/bin/reduceRangeDuplicates.js
+++ b/bin/reduceRangeDuplicates.js
@@ -174,7 +174,7 @@ const reduceRange = new Transform({
// found both start and end
// see if any intermediates are missing
- const foundAllIntermediates = true
+ let foundAllIntermediates = true
for (let i = (startNum + 2); i <= (endNum - 2) && foundAllIntermediates === true; i += 2) {
let foundIntermediate = false
matchCandidates.map(matchCandidate => {