diff --git a/src/rebar_packages.erl b/src/rebar_packages.erl index 7910fe25..50d4025f 100644 --- a/src/rebar_packages.erl +++ b/src/rebar_packages.erl @@ -9,6 +9,7 @@ ,registry_checksum/2 ,find_highest_matching/6 ,find_highest_matching/4 + ,find_highest_matching_/6 ,find_all/3 ,verify_table/1 ,format_error/1]). diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl index 79804d3b..6dee7fde 100644 --- a/src/rebar_prv_update.erl +++ b/src/rebar_prv_update.erl @@ -206,7 +206,7 @@ valid_vsn(Vsn) -> re:run(Vsn, SupportedVersions, [unicode]) =/= nomatch. highest_matching({Pkg, PkgVsn, Dep, App}, Vsn, HexRegistry, State, DepsListAcc) -> - case rebar_packages:find_highest_matching(Pkg, PkgVsn, Dep, Vsn, HexRegistry, State) of + case rebar_packages:find_highest_matching_(Pkg, PkgVsn, Dep, Vsn, HexRegistry, State) of {ok, HighestDepVsn} -> [{App, {pkg, Dep, HighestDepVsn, undefined}} | DepsListAcc]; none ->