瀏覽代碼

Fix skip check for deps not present

pull/3/head
Andrew Thompson 11 年之前
父節點
當前提交
eae26a5c43
共有 1 個檔案被更改,包括 10 行新增6 行删除
  1. +10
    -6
      src/rebar_deps.erl

+ 10
- 6
src/rebar_deps.erl 查看文件

@ -634,12 +634,16 @@ update_deps_int(Config0, UDD) ->
should_skip_update_dep(Config, Dep) ->
{true, AppDir} = get_deps_dir(Config, Dep#dep.app),
{true, AppFile} = rebar_app_utils:is_app_dir(AppDir),
case rebar_app_utils:is_skipped_app(Config, AppFile) of
{_Config, {true, _SkippedApp}} ->
true;
_ ->
false
case rebar_app_utils:is_app_dir(AppDir) of
false ->
false;
{true, AppFile} ->
case rebar_app_utils:is_skipped_app(Config, AppFile) of
{_Config, {true, _SkippedApp}} ->
true;
_ ->
false
end
end.
%% Recursively walk the deps and build a list of them.

Loading…
取消
儲存