Skip to content

Commit 107e1ac

Browse files
Fix precompilepkgs warn loaded setting (#58978)
1 parent fb59b6d commit 107e1ac

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/precompilation.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -920,7 +920,7 @@ function _precompilepkgs(pkgs::Vector{String},
920920
flags, cacheflags = config
921921
task = @async begin
922922
try
923-
loaded = haskey(Base.loaded_modules, pkg)
923+
loaded = warn_loaded && haskey(Base.loaded_modules, pkg)
924924
for dep in deps # wait for deps to finish
925925
wait(was_processed[(dep,config)])
926926
end

0 commit comments

Comments
 (0)