浏览代码

set current_profile to default after checking global plugins

pull/31/head
Tristan Sloughter 10 年前
父节点
当前提交
3af351cec2
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar3.erl

+ 1
- 1
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))

正在加载...
取消
保存