You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 1, 2024. It is now read-only.
Issue is caused by time less that about 15ms Date.now() is not more accurate than this and anything quicker will return the same value for the end and start time producing a totalTime of 0. process.hrtime() could be used instead of Date.now() for more accurate timings. NaN causes following error to be displayed.
e:\git\cloud-commons\pom-main-node-parent\node_modules\time-grunt\index.js:103
var bar = new Array(barLength).join(barChar);
^
RangeError: Invalid array length
at createBar (e:\git\cloud-commons\pom-main-node-parent\node_modules\time-grunt\index.js:103:14)
At (Line 109)[https://github.com/sindresorhus/time-grunt/blob/master/index.js#L109] add isNaN check.
The text was updated successfully, but these errors were encountered: