From d4d4e27693691315fb0b5a5a7efb0a57c77045f1 Mon Sep 17 00:00:00 2001 From: Fred Hebert Date: Sun, 22 Feb 2015 03:03:59 +0000 Subject: Pass in newer state reference Old one might have been a mistake; this one works fine. --- src/rebar_prv_install_deps.erl | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src') diff --git a/src/rebar_prv_install_deps.erl b/src/rebar_prv_install_deps.erl index 76b8872..17a571a 100644 --- a/src/rebar_prv_install_deps.erl +++ b/src/rebar_prv_install_deps.erl @@ -306,8 +306,7 @@ update_unseen_src_dep(AppInfo, Profile, Level, SrcDeps, PkgDeps, SrcApps, State, handle_upgrade(AppInfo, SrcDeps, PkgDeps, SrcApps, Level, State1, Locks); _ -> - %% why do we use the old state there? - maybe_fetch(AppInfo, false, Seen, State), + maybe_fetch(AppInfo, false, Seen, State1), handle_dep(AppInfo, SrcDeps, PkgDeps, SrcApps, Level, State1, Locks) end, -- cgit v1.1