diff options
author | Andrew Thompson <andrew@hijacked.us> | 2013-09-24 12:07:41 -0400 |
---|---|---|
committer | Andrew Thompson <andrew@hijacked.us> | 2013-09-24 12:07:41 -0400 |
commit | eae26a5c4303f913b7d8d7177683cb4ae008d47c (patch) | |
tree | 28b6fbeb7b883ee81019e8fdd066c55b4b6b749a /src | |
parent | d9aa65f118839f2ea76bbdace71166bad705423b (diff) |
Fix skip check for deps not present
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_deps.erl | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/rebar_deps.erl b/src/rebar_deps.erl index 40000ad..6450715 100644 --- a/src/rebar_deps.erl +++ b/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. |