File tree Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Expand file tree Collapse file tree 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -225,16 +225,16 @@ defmodule Mix.Dep do
225
225
def format_status ( % Mix.Dep { app: app , status: { :divergedonly , other } } = dep ) do
226
226
recommendation =
227
227
if Keyword . has_key? ( other . opts , :only ) do
228
- "Ensure the parent dependency specifies a superset of the child one in "
228
+ "Ensure you specify at least the same environments in :only in your dep "
229
229
else
230
- "Remove the :only restriction from"
230
+ "Remove the :only restriction from your dep "
231
231
end
232
232
233
- "the dependency #{ app } \n " <>
233
+ "the :only option for dependency #{ app } \n " <>
234
234
"#{ dep_status ( dep ) } " <>
235
- "\n does not match the environments calculated for\n " <>
235
+ "\n does not match the :only option calculated for\n " <>
236
236
"#{ dep_status ( other ) } " <>
237
- "\n #{ recommendation } your dep "
237
+ "\n #{ recommendation } "
238
238
end
239
239
240
240
def format_status ( % Mix.Dep { app: app , status: { :diverged , other } } = dep ) do
Original file line number Diff line number Diff line change @@ -496,7 +496,7 @@ defmodule Mix.DepTest do
496
496
Mix.Tasks.Deps . run ( [ ] )
497
497
assert_received { :mix_shell , :info , [ "* git_repo" <> _ ] }
498
498
assert_received { :mix_shell , :info , [ msg ] }
499
- assert msg =~ "Ensure the parent dependency specifies a superset of the child one "
499
+ assert msg =~ "Ensure you specify at least the same environments in :only in your dep "
500
500
end
501
501
end
502
502
end
You can’t perform that action at this time.
0 commit comments