aboutsummaryrefslogtreecommitdiffstats
path: root/src/rlx_config.erl
diff options
context:
space:
mode:
Diffstat (limited to 'src/rlx_config.erl')
-rw-r--r--src/rlx_config.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rlx_config.erl b/src/rlx_config.erl
index 62a0cdb..2e16ab3 100644
--- a/src/rlx_config.erl
+++ b/src/rlx_config.erl
@@ -313,7 +313,7 @@ merge_configs([{Key, Value} | CliTerms], ConfigTerms) ->
MergedValue = lists:umerge([Value, Value2]),
merge_configs(CliTerms, lists:keyreplace(Key, 1, ConfigTerms, {Key, MergedValue}));
false ->
- merge_configs(CliTerms, [{Key, Value} | ConfigTerms])
+ merge_configs(CliTerms, ConfigTerms++[{Key, Value}])
end;
_ ->
merge_configs(CliTerms, lists:keystore(Key, 1, ConfigTerms, {Key, Value}))