Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: bug with lts computation for node 10 (#59)
chained comparisons don't work in node, `a < b < c` is equivalent to `(a < b) < c`, i.e. coerce the boolean `(a < b)` to an integer (0 for false, 1 for true) and then compare that to `c`. So this `lts` test would always have been `true`, since both `0` and `1` are less than `+new Date(2020, 4, 31)`
- Loading branch information