From 3af351cec28521caaa15308b1a4a992380723794 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 2 Dec 2014 10:00:44 -0600 Subject: set current_profile to default after checking global plugins --- src/rebar3.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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)) -- cgit v1.1