Skip to content

Commit 0c45e83

Browse files
authored
also update the path of a pacakge when loading its deps from a precompile file (#37608)
1 parent 351542f commit 0c45e83

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

base/loading.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1445,6 +1445,7 @@ function stale_cachefile(modpath::String, cachefile::String, cache::TOMLCache)
14451445
end
14461446
else
14471447
path = locate_package(req_key, cache)
1448+
get!(PkgOrigin, pkgorigins, req_key).path = path
14481449
if path === nothing
14491450
@debug "Rejecting cache file $cachefile because dependency $req_key not found."
14501451
return true # Won't be able to fulfill dependency

0 commit comments

Comments
 (0)