File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -224,7 +224,7 @@ defmodule Mix.Tasks.Format do
224
224
:error ->
225
225
Mix . raise (
226
226
"Unknown dependency #{ inspect ( dep ) } given to :import_deps in the formatter configuration. " <>
227
- "The dependency is not listed in your mix.exs file "
227
+ "The dependency is not listed in your mix.exs for environment #{ inspect ( Mix . env ( ) ) } "
228
228
)
229
229
end
230
230
end
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ defmodule Mix.Tasks.FormatTest do
239
239
240
240
message =
241
241
"Unknown dependency :nonexistent_dep given to :import_deps in the formatter configuration. " <>
242
- "The dependency is not listed in your mix.exs file "
242
+ "The dependency is not listed in your mix.exs for environment :dev "
243
243
244
244
assert_raise Mix.Error , message , fn -> Mix.Tasks.Format . run ( [ ] ) end
245
245
end
You can’t perform that action at this time.
0 commit comments