File tree Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Expand file tree Collapse file tree 2 files changed +5
-6
lines changed Original file line number Diff line number Diff line change 11defmodule Mix.Tasks.Deps.Get do
22 use Mix.Task
33
4- @ shortdoc "Gets all out of date dependencies"
4+ @ shortdoc "Fetches unavailable and out of date dependencies"
55
66 @ moduledoc """
7- Gets all out of date dependencies, i.e. dependencies
8- that are not available or have an invalid lock.
7+ Fetches unavailable and out of date dependencies.
98
109 ## Command line options
1110
@@ -40,7 +39,7 @@ defmodule Mix.Tasks.Deps.Get do
4039 apps = Mix.Dep.Fetcher . all ( % { } , Mix.Dep.Lock . read ( ) , fetch_opts )
4140
4241 if apps == [ ] do
43- Mix . shell ( ) . info ( "All dependencies are up to date " )
42+ Mix . shell ( ) . info ( "All dependencies have been fetched " )
4443 else
4544 :ok
4645 end
Original file line number Diff line number Diff line change @@ -207,7 +207,7 @@ defmodule Mix.Tasks.DepsGitTest do
207207 purge ( [ GitRepo , GitRepo.MixProject ] )
208208 end
209209
210- test "all dependencies are up to date " do
210+ test "all dependencies have been fetched " do
211211 in_fixture ( "no_mixfile" , fn ->
212212 Mix.Project . push ( GitApp )
213213
@@ -216,7 +216,7 @@ defmodule Mix.Tasks.DepsGitTest do
216216 assert_received { :mix_shell , :info , [ ^ message ] }
217217
218218 Mix.Tasks.Deps.Get . run ( [ ] )
219- assert_received { :mix_shell , :info , [ "All dependencies are up to date " ] }
219+ assert_received { :mix_shell , :info , [ "All dependencies have been fetched " ] }
220220 end )
221221 after
222222 purge ( [ GitRepo , GitRepo.MixProject ] )
You can’t perform that action at this time.
0 commit comments