Explorar el Código

Use maps syntax for OTP 17 in deps cmd

pull/2037/head
Jose M Perez hace 6 años
padre
commit
1eff250fe6
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  1. +2
    -2
      src/rebar_prv_deps.erl

+ 2
- 2
src/rebar_prv_deps.erl Ver fichero

@ -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) ->

Cargando…
Cancelar
Guardar