summaryrefslogtreecommitdiff
path: root/src/rebar3.erl
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2015-04-19 12:54:32 -0500
committerTristan Sloughter <t@crashfast.com>2015-04-21 22:56:04 -0500
commita3d4cc1259babf1541d5e278f11fc9ec9be75bb0 (patch)
tree82ceecb0ceecef4ac91ab078886da5df700646e8 /src/rebar3.erl
parent31ef4c491689f2e3166e4365455ebf86374ab8a2 (diff)
track and cleanup code paths for different contexts
Diffstat (limited to 'src/rebar3.erl')
-rw-r--r--src/rebar3.erl4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 460bc36..e5e3173 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -134,7 +134,9 @@ run_aux(State, RawArgs) ->
{Task, Args} = parse_args(RawArgs),
- rebar_core:init_command(rebar_state:command_args(State7, Args), Task).
+ State8 = rebar_state:code_paths(State7, default, code:get_path()),
+
+ rebar_core:init_command(rebar_state:command_args(State8, Args), Task).
init_config() ->
%% Initialize logging system