summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar_prv_deps.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_deps.erl b/src/rebar_prv_deps.erl
index 5443ab5..d00a1c8 100644
--- a/src/rebar_prv_deps.erl
+++ b/src/rebar_prv_deps.erl
@@ -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) ->