diff options
-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, |