aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorAndrew Harvey <andrew@alantgeo.com.au>2021-05-18 16:20:37 +1000
committerAndrew Harvey <andrew@alantgeo.com.au>2021-05-18 16:20:37 +1000
commit710298bda56a267d6c7de08980bb31560e4f1d36 (patch)
treeaf4f64989b831629699f4c5afd9ec82dc2237cdc /bin
parentb1da93a369ebcaecee3a2a5b10ccaf556e1cf119 (diff)
fix syntax error
Diffstat (limited to 'bin')
-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 => {