diff options
author | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-18 16:20:37 +1000 |
---|---|---|
committer | Andrew Harvey <andrew@alantgeo.com.au> | 2021-05-18 16:20:37 +1000 |
commit | 710298bda56a267d6c7de08980bb31560e4f1d36 (patch) | |
tree | af4f64989b831629699f4c5afd9ec82dc2237cdc /bin/reduceRangeDuplicates.js | |
parent | b1da93a369ebcaecee3a2a5b10ccaf556e1cf119 (diff) |
fix syntax error
Diffstat (limited to 'bin/reduceRangeDuplicates.js')
-rwxr-xr-x | bin/reduceRangeDuplicates.js | 2 |
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 => { |