summaryrefslogtreecommitdiff
path: root/src/rebar_prv_update.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2018-02-27 13:26:21 -0800
committerTristan Sloughter <t@crashfast.com>2018-02-27 13:26:21 -0800
commitd839a0be8dbd6355dc7d71b1e0e2f425b3f47fe9 (patch)
tree514ae74c40f265af0f33d8f60b45b129a0279b3f /src/rebar_prv_update.erl
parent2917ede03d17e825226eee62aa05f1d348c3366f (diff)
don't attempt retry of missing packages when updating index
Diffstat (limited to 'src/rebar_prv_update.erl')
-rw-r--r--src/rebar_prv_update.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_prv_update.erl b/src/rebar_prv_update.erl
index 79804d3..6dee7fd 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 ->