Skip to content

Commit 0dce5a3

Browse files
committed
also reset LOAD_PATH
1 parent d3f7672 commit 0dce5a3

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
@@ -2319,6 +2319,7 @@ function include_package_for_output(pkg::PkgId, input::String, depot_path::Vecto
23192319

23202320
# restore to initial state to make precompilation result relocatable
23212321
append!(empty!(Base.DEPOT_PATH), depot_path)
2322+
append!(empty!(Base.LOAD_PATH), load_path)
23222323

23232324
end
23242325

0 commit comments

Comments
 (0)