From 1046f4c5d75965dec5e3155194e34540aadeddd0 Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Sat, 20 Sep 2014 09:58:35 -0500 Subject: handle no plugins as [] list of plugins --- src/rebar_plugins.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/rebar_plugins.erl b/src/rebar_plugins.erl index 9fc0b23..b180ede 100644 --- a/src/rebar_plugins.erl +++ b/src/rebar_plugins.erl @@ -17,7 +17,7 @@ install(State) -> Plugins = rebar_state:get(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), lists:foreach(fun(AppInfo) -> C = rebar_config:consult(rebar_app_info:dir(AppInfo)), -- cgit v1.1