Selaa lähdekoodia

Use maps syntax for OTP 17 in deps cmd

pull/2037/head
Jose M Perez 6 vuotta sitten
vanhempi
commit
1eff250fe6
1 muutettua tiedostoa jossa 2 lisäystä ja 2 poistoa
  1. +2
    -2
      src/rebar_prv_deps.erl

+ 2
- 2
src/rebar_prv_deps.erl Näytä tiedosto

@ -79,11 +79,11 @@ locked_deps_map(State, Profile) ->
case rebar_app_info:is_lock(Dep) of
true ->
DepName = rebar_app_info:name(Dep),
DepsIn#{rebar_utils:to_binary(DepName) => Dep};
maps:put(rebar_utils:to_binary(DepName), Dep, DepsIn);
_ ->
DepsIn
end
end, #{}, ParsedDeps).
end, maps:new(), ParsedDeps).
display_dep(State, Dep, LockedDeps) ->

Ladataan…
Peruuta
Tallenna