Skip to content

Commit 9d9aa8b

Browse files
author
José Valim
committed
Disable --warnings-as-errors for deps
See #4913
1 parent 65aee00 commit 9d9aa8b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

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

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,8 @@ defmodule Mix.Tasks.Deps.Compile do
133133
end
134134

135135
try do
136-
res = Mix.Task.run("compile", ["--no-deps", "--no-archives-check", "--no-elixir-version-check"])
136+
res = Mix.Task.run("compile", ["--no-deps", "--no-archives-check",
137+
"--no-elixir-version-check", "--no-warnings-as-errors"])
137138
:ok in List.wrap(res)
138139
catch
139140
kind, reason ->

0 commit comments

Comments
 (0)