File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed
Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change 55"use strict" ;
66
77class OptionsApply {
8- process ( options , compiler ) { }
8+ process ( options , compiler ) { }
99}
1010module . exports = OptionsApply ;
Original file line number Diff line number Diff line change @@ -25,8 +25,8 @@ class ProgressPlugin {
2525 compiler . compilers . forEach ( function ( compiler , idx ) {
2626 compiler . apply ( new ProgressPlugin ( ( p , msg ) => {
2727 states [ idx ] = Array . prototype . slice . apply ( arguments ) ;
28- handler ( ... [
29- states . map ( state => state && state [ 0 ] || 0 ) . reduce ( ( a , b ) => a + b ) / states . length ,
28+ handler . apply ( null , [
29+ states . map ( state => state && state [ 0 ] || 0 ) . reduce ( ( a , b ) => a + b ) / states . length ,
3030 `[${ idx } ] ${ msg } `
3131 ] . concat ( Array . prototype . slice . call ( arguments , 2 ) ) ) ;
3232 } ) ) ;
@@ -42,7 +42,7 @@ class ProgressPlugin {
4242 0.1 + ( doneModules / Math . max ( lastModulesCount , moduleCount ) ) * 0.6 ,
4343 "building modules" ,
4444 `${ doneModules } /${ moduleCount } modules` ,
45- `${ activeModules . length } active` ,
45+ `${ activeModules . length } active` ,
4646 activeModules [ activeModules . length - 1 ]
4747 ) ;
4848 } ;
You can’t perform that action at this time.
0 commit comments