mirror of
https://github.com/correl/rebar.git
synced 2024-11-23 19:19:54 +00:00
Fix skip check for deps not present
This commit is contained in:
parent
d9aa65f118
commit
eae26a5c43
1 changed files with 10 additions and 6 deletions
|
@ -634,12 +634,16 @@ update_deps_int(Config0, UDD) ->
|
||||||
|
|
||||||
should_skip_update_dep(Config, Dep) ->
|
should_skip_update_dep(Config, Dep) ->
|
||||||
{true, AppDir} = get_deps_dir(Config, Dep#dep.app),
|
{true, AppDir} = get_deps_dir(Config, Dep#dep.app),
|
||||||
{true, AppFile} = rebar_app_utils:is_app_dir(AppDir),
|
case rebar_app_utils:is_app_dir(AppDir) of
|
||||||
case rebar_app_utils:is_skipped_app(Config, AppFile) of
|
false ->
|
||||||
{_Config, {true, _SkippedApp}} ->
|
false;
|
||||||
true;
|
{true, AppFile} ->
|
||||||
_ ->
|
case rebar_app_utils:is_skipped_app(Config, AppFile) of
|
||||||
false
|
{_Config, {true, _SkippedApp}} ->
|
||||||
|
true;
|
||||||
|
_ ->
|
||||||
|
false
|
||||||
|
end
|
||||||
end.
|
end.
|
||||||
|
|
||||||
%% Recursively walk the deps and build a list of them.
|
%% Recursively walk the deps and build a list of them.
|
||||||
|
|
Loading…
Reference in a new issue