Browse Source

Merge pull request #925 from rollup/debug-trash

Trim debug numbers
gh-953
Rich Harris 8 years ago
committed by GitHub
parent
commit
8ac1cd9a82
  1. 2
      src/utils/flushTime.js

2
src/utils/flushTime.js

@ -19,7 +19,7 @@ if ( typeof process === 'undefined' ) {
timeEndHelper = function timeEndHelper ( previous ) {
const hrtime = process.hrtime( previous );
return hrtime[0] * 1e3 + hrtime[1] / 1e6;
return hrtime[0] * 1e3 + Math.floor( hrtime[1] / 1e6 );
};
}

Loading…
Cancel
Save