Skip to content

Commit

Permalink
fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmach committed Jan 21, 2025
1 parent 6d0ac9d commit 2bfe422
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion lib/hex/remote_converger.ex
Original file line number Diff line number Diff line change
Expand Up @@ -156,10 +156,14 @@ defmodule Hex.RemoteConverger do
|> Enum.sort(&(Version.compare(&1, &2) == :gt))

with [latest_version | _] <- versions,
{:hex, _name, version, _checksum, _managers, _, ^repo, _checksum} <-
{:hex, _name, version, _checksum1, _managers, _, ^repo, _checksum2} <-
Map.fetch!(new_lock, String.to_atom(name)),
:gt <- Version.compare(latest_version, version) do
{name, latest_version}
else
other ->
dbg(other)
nil
end
end
|> Enum.filter(& &1)
Expand Down

0 comments on commit 2bfe422

Please sign in to comment.