Skip to content

Commit

Permalink
Fix skip check for deps not present
Browse files Browse the repository at this point in the history
  • Loading branch information
Vagabond committed Sep 24, 2013
1 parent d9aa65f commit eae26a5
Showing 1 changed file with 10 additions and 6 deletions.
16 changes: 10 additions & 6 deletions src/rebar_deps.erl
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down

0 comments on commit eae26a5

Please sign in to comment.