summaryrefslogtreecommitdiff
path: root/src/rebar_prv_shell.erl
diff options
context:
space:
mode:
authorAlexander Sedov <asedov@platbox.com>2016-10-11 10:36:12 +0300
committerAlexander Sedov <asedov@platbox.com>2016-10-11 10:40:30 +0300
commit0afb4c4d477b1c1fba54ad3ef086d0697a5faeaa (patch)
treee80c4512c3fd4e4afd7e2c0274efd079a853b308 /src/rebar_prv_shell.erl
parent6e9503c4f0232d6e8152b56a7037f22843e53959 (diff)
Made reading sys.configs consistent with OTP specification.
Diffstat (limited to 'src/rebar_prv_shell.erl')
-rw-r--r--src/rebar_prv_shell.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rebar_prv_shell.erl b/src/rebar_prv_shell.erl
index b7febf8..e14ae3a 100644
--- a/src/rebar_prv_shell.erl
+++ b/src/rebar_prv_shell.erl
@@ -331,8 +331,8 @@ reread_config(State) ->
case find_config(State) of
no_config ->
ok;
- ConfigList ->
- _ = rebar_utils:reread_config(ConfigList),
+ Config ->
+ _ = rebar_utils:reread_config([Config]),
ok
end.