Skip to content

Commit f6992e6

Browse files
committed
chore(lint): format all files as per prettier plugin
format files
1 parent 671abd5 commit f6992e6

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

bin/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -108,7 +108,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
108108
*/
109109
const stdout = argv.silent
110110
? {
111-
write: () => {}
111+
write: () => {}
112112
} // eslint-disable-line
113113
: process.stdout;
114114

bin/config/config-yargs.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -349,7 +349,7 @@ module.exports = function(yargs) {
349349
},
350350
p: {
351351
type: "boolean",
352-
describe: "shortcut for --optimize-minimize --define process.env.NODE_ENV=\"production\"",
352+
describe: 'shortcut for --optimize-minimize --define process.env.NODE_ENV="production"',
353353
group: BASIC_GROUP
354354
},
355355
silent: {

bin/utils/convert-argv.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ module.exports = function(...args) {
2424
}
2525
if (argv.p) {
2626
argv["optimize-minimize"] = true;
27-
argv["define"] = [].concat(argv["define"] || []).concat("process.env.NODE_ENV=\"production\"");
27+
argv["define"] = [].concat(argv["define"] || []).concat('process.env.NODE_ENV="production"');
2828
if (!argv.mode) {
2929
argv.mode = "production";
3030
}

0 commit comments

Comments
 (0)