diff options
author | Tristan Sloughter <t@crashfast.com> | 2015-03-17 12:09:42 -0500 |
---|---|---|
committer | Tristan Sloughter <t@crashfast.com> | 2015-03-17 12:11:42 -0500 |
commit | b4986925e83c521720f94d16d9f016248a91892e (patch) | |
tree | 5c539a10208a86507cbc855b6c67e7368f789f9d /src | |
parent | ae004ad234412a68a60e127677fa26ec747279f3 (diff) |
include all pkg deps in list of deps returned from update
Diffstat (limited to 'src')
-rw-r--r-- | src/rebar_prv_install_deps.erl | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index 59acb54..15fdd0a 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -210,13 +210,8 @@ handle_pkg_dep(Profile, Pkg, Packages, Upgrade, DepsDir, Fetched, Seen, State) - AppInfo = package_to_app(DepsDir, Packages, Pkg), Level = rebar_app_info:dep_level(AppInfo), {NewSeen, NewState} = maybe_lock(Profile, AppInfo, Seen, State, Level), - case maybe_fetch(AppInfo, Upgrade, Seen, NewState) of - true -> - {[AppInfo | Fetched], NewSeen, NewState}; - false -> - {Fetched, NewSeen, NewState} - end. - + maybe_fetch(AppInfo, Upgrade, Seen, NewState), + {[AppInfo | Fetched], NewSeen, NewState}. maybe_lock(Profile, AppInfo, Seen, State, Level) -> case Profile of |