Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
christiangnrd committed Sep 24, 2024
1 parent 0fade45 commit b418266
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion stdlib/REPL/src/Pkg_beforeload.jl
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ function projname(project_file::String)
end
for depot in Base.DEPOT_PATH
envdir = joinpath(depot, "environments")
if startswith(abspath(project_file), abspath(envdir))
if startswith(safe_realpath(project_file), safe_realpath(envdir))
return "@" * name
end
end
Expand Down

0 comments on commit b418266

Please sign in to comment.