diff options
author | Fred Hebert <mononcqc@ferd.ca> | 2015-02-22 03:03:59 +0000 |
---|---|---|
committer | Fred Hebert <mononcqc@ferd.ca> | 2015-02-22 03:03:59 +0000 |
commit | d4d4e27693691315fb0b5a5a7efb0a57c77045f1 (patch) | |
tree | f2a8216268f6f0dbc406fc4370b0c295e94f59f7 /src | |
parent | 1c638b05fa3666608d157cda36ec87e7e07242ac (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.erl | 3 |
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, |