Skip to content

Commit c923f73

Browse files
authored
Add precision about --warnings-as-errors (#13610)
1 parent 420a939 commit c923f73

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/mix/lib/mix/tasks/compile.ex

+2-1
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ defmodule Mix.Tasks.Compile do
7474
* `--no-protocol-consolidation` - skips protocol consolidation
7575
* `--no-validate-compile-env` - does not validate the application compile environment
7676
* `--return-errors` - returns error status and diagnostics instead of exiting on error
77-
* `--warnings-as-errors` - exit with non-zero status if compilation has one or more warnings
77+
* `--warnings-as-errors` - exit with non-zero status if compilation has one or more
78+
warnings. Only concerns compilation warnings from the project, not its dependencies.
7879
7980
"""
8081

0 commit comments

Comments
 (0)