浏览代码

Merge pull request #640 from pvmart/master

Fix plugin upgrade when plugin mentioned only by its name
pull/651/head
Tristan Sloughter 9 年前
父节点
当前提交
5cbc22c45d
共有 1 个文件被更改,包括 4 次插入1 次删除
  1. +4
    -1
      src/rebar_prv_plugins_upgrade.erl

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

正在加载...
取消
保存