Skip to content

Commit aaa1d84

Browse files
committed
chore: suggestion
1 parent e0fe1a1 commit aaa1d84

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

OPTIONS.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ Options:
1616
--progress [value] Print compilation progress during build.
1717
--prefetch <value> Prefetch this request.
1818
-j, --json [value] Prints result as JSON or store it in a file.
19-
--no-fail-on-warnings Negative 'fail-on-warnings' option.
19+
--fail-on-warnings Stop webpack-cli process with non-zero exit code on warnings from webpack
2020
--no-amd Negative 'amd' option.
2121
--bail Report the first error as a hard error instead of tolerating it.
2222
--no-bail Negative 'bail' option.

packages/webpack-cli/src/webpack-cli.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -981,7 +981,7 @@ class WebpackCLI implements IWebpackCLI {
981981
configs: [
982982
{
983983
type: "enum",
984-
values: [false],
984+
values: [true],
985985
},
986986
],
987987
description: "Stop webpack-cli process with non-zero exit code on warnings from webpack",

0 commit comments

Comments
 (0)