Skip to content

Commit a8ef873

Browse files
authored
Merge pull request #50230 from JuliaLang/kf/dontreversecache
Don't reverse! load_path cache
2 parents 0da46e2 + d48e17b commit a8ef873

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/loading.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2727,7 +2727,7 @@ end
27272727

27282728
function get_preferences(uuid::Union{UUID,Nothing} = nothing)
27292729
merged_prefs = Dict{String,Any}()
2730-
for env in reverse!(load_path())
2730+
for env in reverse(load_path())
27312731
project_toml = env_project_file(env)
27322732
if !isa(project_toml, String)
27332733
continue

0 commit comments

Comments
 (0)