summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_plugins_upgrade.erl5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/rebar_prv_plugins_upgrade.erl b/src/rebar_prv_plugins_upgrade.erl
index 02c185f..f67b7dc 100644
--- a/src/rebar_prv_plugins_upgrade.erl
+++ b/src/rebar_prv_plugins_upgrade.erl
@@ -97,7 +97,10 @@ find(Plugin, [Plugin1 | Plugins]) when is_tuple(Plugin1) ->
Plugin1;
false ->
find(Plugin, Plugins)
- end.
+ end;
+find(Plugin, [_Plugin | Plugins]) ->
+ find(Plugin, Plugins).
+
build_plugin(AppInfo, Apps, State) ->
Providers = rebar_state:providers(State),