From b4986925e83c521720f94d16d9f016248a91892e Mon Sep 17 00:00:00 2001 From: Tristan Sloughter Date: Tue, 17 Mar 2015 12:09:42 -0500 Subject: include all pkg deps in list of deps returned from update --- src/rebar_prv_install_deps.erl | 9 ++------- 1 file 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 -- cgit v1.1