Skip to content

Commit 7be0da7

Browse files
author
kingdaro
committed
style: run formatter
1 parent a7ee15a commit 7be0da7

1 file changed

Lines changed: 7 additions & 4 deletions

File tree

bin/webpack.js

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,8 @@
192192
type: "string",
193193
default: "info",
194194
group: DISPLAY_GROUP,
195-
describe: "Controls the output of lifecycle messaging e.g. Started watching files... (verbose, info, none)"
195+
describe:
196+
"Controls the output of lifecycle messaging e.g. Started watching files... (verbose, info, none)"
196197
}
197198
});
198199

@@ -412,7 +413,9 @@
412413

413414
ifArg("info-verbosity", function(value) {
414415
if (!["none", "info", "verbose"].includes(value))
415-
throw new Error("Invalid configuration object. \n configuration['info-verbosity'] should be one of these:\n \"none\" | \"info\" | \"verbose\"");
416+
throw new Error(
417+
"Invalid configuration object. \n configuration['info-verbosity'] should be one of these:\n \"none\" | \"info\" | \"verbose\""
418+
);
416419
outputOptions.infoVerbosity = value;
417420
});
418421

@@ -446,10 +449,10 @@
446449
}
447450

448451
if (outputOptions.infoVerbosity === "verbose") {
449-
compiler.hooks.beforeCompile.tap("WebpackInfo", (compilation) => {
452+
compiler.hooks.beforeCompile.tap("WebpackInfo", compilation => {
450453
console.log("\nCompilation starting…\n");
451454
});
452-
compiler.hooks.afterCompile.tap("WebpackInfo", (compilation) => {
455+
compiler.hooks.afterCompile.tap("WebpackInfo", compilation => {
453456
console.log("\nCompilation finished\n");
454457
});
455458
}

0 commit comments

Comments
 (0)