summaryrefslogtreecommitdiff
path: root/src/rebar_state.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-12-01 10:39:29 -0600
committerTristan Sloughter <t@crashfast.com>2014-12-01 10:39:29 -0600
commit3386765e08468eee6fe233be730ddeb487c6f0e3 (patch)
treee074799d544d623f22d5a2e30b240a66b5b26590 /src/rebar_state.erl
parent5673fe035da48d48d0824bf7260bfda28c55c9d5 (diff)
do not erase deps from opts
Diffstat (limited to 'src/rebar_state.erl')
-rw-r--r--src/rebar_state.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl
index e3408ec..a59968e 100644
--- a/src/rebar_state.erl
+++ b/src/rebar_state.erl
@@ -143,7 +143,7 @@ command_parsed_args(State, CmdArgs) ->
apply_profile(State=#state_t{default=Opts}, Profile) ->
ConfigProfiles = rebar_state:get(State, profiles, []),
Deps = rebar_state:get(State, deps, []),
- Opts1 = dict:store({deps, default}, Deps, dict:erase(deps, Opts)),
+ Opts1 = dict:store({deps, default}, Deps, Opts),
ProfileOpts = dict:from_list(proplists:get_value(Profile, ConfigProfiles, [])),
State#state_t{opts=merge_opts(Profile, ProfileOpts, Opts1)}.