Browse Source

set current_profile to default after checking global plugins

pull/31/head
Tristan Sloughter 10 years ago
parent
commit
3af351cec2
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/rebar3.erl

+ 1
- 1
src/rebar3.erl View File

@ -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))

Loading…
Cancel
Save