summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFred Hebert <mononcqc@ferd.ca>2015-02-22 03:03:59 +0000
committerFred Hebert <mononcqc@ferd.ca>2015-02-22 03:03:59 +0000
commitd4d4e27693691315fb0b5a5a7efb0a57c77045f1 (patch)
treef2a8216268f6f0dbc406fc4370b0c295e94f59f7 /src
parent1c638b05fa3666608d157cda36ec87e7e07242ac (diff)
Pass in newer state reference
Old one might have been a mistake; this one works fine.
Diffstat (limited to 'src')
-rw-r--r--src/rebar_prv_install_deps.erl3
1 files changed, 1 insertions, 2 deletions
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,