浏览代码

set parent on already fetched apps so tree works

pull/759/head
Tristan Sloughter 9 年前
父节点
当前提交
af395c5bca
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. +1
    -1
      src/rebar_app_utils.erl

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

@ -165,7 +165,7 @@ dep_to_app(Parent, DepsDir, Name, Vsn, Source, IsLock, State) ->
Dir = ec_cnv:to_list(filename:join(DepsDir, Name)), Dir = ec_cnv:to_list(filename:join(DepsDir, Name)),
case rebar_app_info:discover(Dir) of case rebar_app_info:discover(Dir) of
{ok, App} -> {ok, App} ->
{ok, App};
{ok, rebar_app_info:parent(App, Parent)};
not_found -> not_found ->
rebar_app_info:new(Parent, Name, Vsn, Dir, []) rebar_app_info:new(Parent, Name, Vsn, Dir, [])
end end

正在加载...
取消
保存