Sfoglia il codice sorgente

set current_profile to default after checking global plugins

pull/31/head
Tristan Sloughter 10 anni fa
parent
commit
3af351cec2
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      src/rebar3.erl

+ 1
- 1
src/rebar3.erl Vedi 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))

Caricamento…
Annulla
Salva