summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
authoralisdair sullivan <alisdairsullivan@yahoo.ca>2017-02-26 11:02:56 -0600
committerGitHub <noreply@github.com>2017-02-26 11:02:56 -0600
commitb810909314731b2761bc23d607baadea2db01ed4 (patch)
tree6d8ab99f014a06c8f5f2c22df8496322e2e6331d /src/rebar3.erl
parent1376967687921b25a39c876edc373331956f3e7c (diff)
parent0bc0aeba9c19531025967862cde7b9e32d7bc300 (diff)
Merge pull request #1497 from ferd/rebar-config-override-root
REBAR_CONFIG impacts file project root only
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 56bf3e8..5c593cc 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -176,7 +176,7 @@ init_config() ->
Verbosity = log_level(),
ok = rebar_log:init(command_line, Verbosity),
- Config = rebar_config:consult(),
+ Config = rebar_config:consult_root(),
Config1 = rebar_config:merge_locks(Config, rebar_config:consult_lock_file(?LOCK_FILE)),
%% If $HOME/.config/rebar3/rebar.config exists load and use as global config