Skip to content

Commit

Permalink
Fix failing test
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmj committed Apr 8, 2024
1 parent 5395ec2 commit b0e5c30
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/hex/mix.ex
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ defmodule Hex.Mix do
defp non_hex_deps_to_requests(deps, all_deps, all_apps, overridden) do
Enum.flat_map(deps, fn dep ->
if has_non_hex_deps?(dep, all_apps) do
collect_non_hex_deps(deps, all_deps, all_apps, overridden)
collect_non_hex_deps(dep, all_deps, all_apps, overridden)
else
[]
end
Expand All @@ -72,7 +72,7 @@ defmodule Hex.Mix do
dep.scm != Hex.SCM and dep.deps != [] and dep.app in all_apps
end

defp collect_non_hex_deps(deps, all_deps, all_apps, overridden) do
defp collect_non_hex_deps(dep, all_deps, all_apps, overridden) do
sub_apps = Enum.map(dep.deps, & &1.app)
sub_deps = Enum.filter(dep.deps, &(&1.app in sub_apps))

Expand Down

0 comments on commit b0e5c30

Please sign in to comment.