diff options
Diffstat (limited to 'src/rebar_state.erl')
-rw-r--r-- | src/rebar_state.erl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl index 1f522ef..7cdfd9a 100644 --- a/src/rebar_state.erl +++ b/src/rebar_state.erl @@ -160,8 +160,6 @@ apply_profile(State=#state_t{default=Opts}, Profile) -> State#state_t{opts=merge_opts(Profile, ProfileOpts, Opts1)}. merge_opts(Profile, NewOpts, OldOpts) -> - io:format("Keys ~p~n", [dict:fetch_keys(NewOpts)]), - io:format("Keys ~p~n", [dict:fetch_keys(OldOpts)]), Dict = dict:merge(fun(_Key, NewValue, OldValue) when is_list(NewValue) -> case io_lib:printable_list(NewValue) of true -> @@ -177,7 +175,7 @@ merge_opts(Profile, NewOpts, OldOpts) -> case dict:find(deps, NewOpts) of error -> dict:store({deps, Profile}, [], Dict); - Deps -> + {ok, Deps} -> dict:store({deps, Profile}, Deps, Dict) end. |