From 1eff250fe63e04c6bc991f9524e498a10c183b4f Mon Sep 17 00:00:00 2001 From: Jose M Perez Date: Tue, 2 Apr 2019 11:06:03 +0200 Subject: Use maps syntax for OTP 17 in deps cmd --- src/rebar_prv_deps.erl | 4 ++-- 1 file 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) -> -- cgit v1.1