File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -106,9 +106,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
106106 * When --silent flag is present, an object with a no-op write method is
107107 * used in place of process.stout
108108 */
109- const stdout = argv . silent
110- ? { write : ( ) => { } } // eslint-disable-line
111- : process . stdout ;
109+ const stdout = argv . silent ? { write : ( ) => { } } : process . stdout ;
112110
113111 function ifArg ( name , fn , init ) {
114112 if ( Array . isArray ( argv [ name ] ) ) {
@@ -125,7 +123,8 @@ For more information, see https://webpack.js.org/api/cli/.`);
125123 if ( typeof options . then === "function" ) {
126124 options . then ( processOptions ) . catch ( function ( err ) {
127125 console . error ( err . stack || err ) ;
128- process . exit ( 1 ) ; // eslint-disable-line
126+ // eslint-disable-next-line no-process-exit
127+ process . exit ( 1 ) ;
129128 } ) ;
130129 return ;
131130 }
You can’t perform that action at this time.
0 commit comments