const delayMs = options.collectDelay * 1000
...
// Compare ticks to first for collectDelay
if (tick.tm > (firstTick[0] + delayMs)) {
ticks.push(stack.reverse())
}
But without this change, collectDelay is NaN so firstTick[0] + NaN ends up NaN, which always returns false when compared to a number, so this never resolves to true, and no ticks get added.
In v8-log-to-ticks.js:152
But without this change,
collectDelay
isNaN
sofirstTick[0] + NaN
ends upNaN
, which always returns false when compared to a number, so this never resolves to true, and no ticks get added.