瀏覽代碼

handle no plugins as [] list of plugins

pull/3/head
Tristan Sloughter 10 年之前
父節點
當前提交
1046f4c5d7
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_plugins.erl

+ 1
- 1
src/rebar_plugins.erl 查看文件

@ -17,7 +17,7 @@ install(State) ->
Plugins = rebar_state:get(State1, plugins, []), Plugins = rebar_state:get(State1, plugins, []),
{ok, State2} = rebar_prv_install_deps:handle_deps(State1, Plugins), {ok, State2} = rebar_prv_install_deps:handle_deps(State1, Plugins),
Apps = rebar_state:get(State2, all_deps),
Apps = rebar_state:get(State2, all_deps, []),
ToBuild = lists:dropwhile(fun rebar_app_info:valid/1, Apps), ToBuild = lists:dropwhile(fun rebar_app_info:valid/1, Apps),
lists:foreach(fun(AppInfo) -> lists:foreach(fun(AppInfo) ->
C = rebar_config:consult(rebar_app_info:dir(AppInfo)), C = rebar_config:consult(rebar_app_info:dir(AppInfo)),

Loading…
取消
儲存