summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/rebar3.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/rebar3.erl b/src/rebar3.erl
index 65b125e..24d9ad3 100644
--- a/src/rebar3.erl
+++ b/src/rebar3.erl
@@ -108,7 +108,7 @@ run_aux(State, GlobalPluginProviders, RawArgs) ->
State2 = case os:getenv("REBAR_DEFAULT_PROFILE") of
false ->
- State;
+ rebar_state:current_profile(State, default);
Profile ->
State1 = rebar_state:current_profile(State, list_to_atom(Profile)),
rebar_state:default(State1, rebar_state:opts(State1))