summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTristan Sloughter <t@crashfast.com>2014-09-20 09:58:35 -0500
committerTristan Sloughter <t@crashfast.com>2014-09-20 09:58:35 -0500
commit1046f4c5d75965dec5e3155194e34540aadeddd0 (patch)
treef92158c9e3120ce6fe03611e08ca9a58cd92c259
parent6c6480fa077065d1db77b78a49c79d9f6cf08035 (diff)
handle no plugins as [] list of plugins
-rw-r--r--src/rebar_plugins.erl2
1 files changed, 1 insertions, 1 deletions
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)),