summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_state.erl7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/rebar_state.erl b/src/rebar_state.erl
index 9aafa8a..39e0e88 100644
--- a/src/rebar_state.erl
+++ b/src/rebar_state.erl
@@ -206,6 +206,13 @@ apply_profiles(State=#state_t{opts=Opts, current_profiles=CurrentProfiles}, Prof
merge_opts(Profile, NewOpts, OldOpts) ->
Opts = dict:merge(fun(_Key, NewValue, OldValue) when is_list(NewValue) ->
case io_lib:printable_list(NewValue) of
+ true when NewValue =:= [] ->
+ case io_lib:printable_list(OldValue) of
+ true ->
+ NewValue;
+ false ->
+ OldValue
+ end;
true ->
NewValue;
false ->