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
224224 :error ->
225225 Mix . raise (
226226 "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 ( ) ) } "
228228 )
229229 end
230230 end
Original file line number Diff line number Diff line change @@ -239,7 +239,7 @@ defmodule Mix.Tasks.FormatTest do
239239
240240 message =
241241 "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 "
243243
244244 assert_raise Mix.Error , message , fn -> Mix.Tasks.Format . run ( [ ] ) end
245245 end
You can’t perform that action at this time.
0 commit comments