File tree 1 file changed +3
-4
lines changed
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/.`);
106
106
* When --silent flag is present, an object with a no-op write method is
107
107
* used in place of process.stout
108
108
*/
109
- const stdout = argv . silent
110
- ? { write : ( ) => { } } // eslint-disable-line
111
- : process . stdout ;
109
+ const stdout = argv . silent ? { write : ( ) => { } } : process . stdout ;
112
110
113
111
function ifArg ( name , fn , init ) {
114
112
if ( Array . isArray ( argv [ name ] ) ) {
@@ -125,7 +123,8 @@ For more information, see https://webpack.js.org/api/cli/.`);
125
123
if ( typeof options . then === "function" ) {
126
124
options . then ( processOptions ) . catch ( function ( err ) {
127
125
console . error ( err . stack || err ) ;
128
- process . exit ( 1 ) ; // eslint-disable-line
126
+ // eslint-disable-next-line no-process-exit
127
+ process . exit ( 1 ) ;
129
128
} ) ;
130
129
return ;
131
130
}
You can’t perform that action at this time.
0 commit comments