Skip to content

Commit

Permalink
chore(lint): format all files as per prettier plugin
Browse files Browse the repository at this point in the history
format files
  • Loading branch information
anshumanv committed Jun 6, 2019
1 parent 671abd5 commit f6992e6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/cli.js
Expand Up @@ -108,7 +108,7 @@ For more information, see https://webpack.js.org/api/cli/.`);
*/
const stdout = argv.silent
? {
write: () => {}
write: () => {}
} // eslint-disable-line
: process.stdout;

Expand Down
2 changes: 1 addition & 1 deletion bin/config/config-yargs.js
Expand Up @@ -349,7 +349,7 @@ module.exports = function(yargs) {
},
p: {
type: "boolean",
describe: "shortcut for --optimize-minimize --define process.env.NODE_ENV=\"production\"",
describe: 'shortcut for --optimize-minimize --define process.env.NODE_ENV="production"',
group: BASIC_GROUP
},
silent: {
Expand Down
2 changes: 1 addition & 1 deletion bin/utils/convert-argv.js
Expand Up @@ -24,7 +24,7 @@ module.exports = function(...args) {
}
if (argv.p) {
argv["optimize-minimize"] = true;
argv["define"] = [].concat(argv["define"] || []).concat("process.env.NODE_ENV=\"production\"");
argv["define"] = [].concat(argv["define"] || []).concat('process.env.NODE_ENV="production"');
if (!argv.mode) {
argv.mode = "production";
}
Expand Down

0 comments on commit f6992e6

Please sign in to comment.