summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-12-02 10:00:44 -0600
committerTristan Sloughter <t@crashfast.com>2014-12-02 10:00:44 -0600
commit3af351cec28521caaa15308b1a4a992380723794 (patch)
treef5309346fc164fe3556e96db679b32bf5eca5a56 /src
parent31db811e985ebd6f5e4d7ab349473964ad2f5ea5 (diff)
set current_profile to default after checking global plugins
Diffstat (limited to 'src')
-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))