Browse Source

Fix lint

gh-953
Bogdan Chadkin 8 years ago
parent
commit
50d263203e
  1. 2
      src/rollup.js
  2. 2
      src/utils/flushTime.js

2
src/rollup.js

@ -61,7 +61,7 @@ export function rollup ( options ) {
timeEnd( '--BUILD--' ); timeEnd( '--BUILD--' );
function generate ( options ) { function generate ( options ) {
timeStart( '--GENERATE--' ) timeStart( '--GENERATE--' );
const rendered = bundle.render( options ); const rendered = bundle.render( options );

2
src/utils/flushTime.js

@ -30,6 +30,8 @@ function toMilliseconds( time ) {
function defaultLog ( label, time ) { function defaultLog ( label, time ) {
if ( DEBUG ) { if ( DEBUG ) {
/* eslint-disable no-console */
console.info( '%dms: %s', time, label ); console.info( '%dms: %s', time, label );
/* eslint-enable no-console */
} }
} }

Loading…
Cancel
Save