Skip to content

Commit

Permalink
Sort resolver results
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed Jul 13, 2015
1 parent cf59fca commit 4514312
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/hex/remote_converger.ex
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,9 @@ defmodule Hex.RemoteConverger do
resolved = Enum.into(resolved, HashDict.new, fn {name, _app, version} -> {name, version} end)
resolved = HashDict.drop(resolved, locked)

if resolved != [] do
if HashDict.size(resolved) != 0 do
Hex.Shell.info "Dependency resolution completed successfully"
resolved = Enum.sort(resolved)
Enum.each(resolved, fn {name, version} ->
Hex.Shell.info " #{name}: v#{version}"
end)
Expand Down

0 comments on commit 4514312

Please sign in to comment.