Skip to content

Commit 6bbd0d4

Browse files
committed
Use realpath for query normalization
Goes with timholy/Revise.jl#974
1 parent 3819238 commit 6bbd0d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/CodeTracking.jl

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,9 @@ Returns `nothing` if there are no methods at that location.
160160
"""
161161
function signatures_at(filename::AbstractString, line::Integer)
162162
if !startswith(filename, "REPL[")
163-
filename = abspath(filename)
163+
if ispath(filename)
164+
filename = realpath(filename)
165+
end
164166
end
165167
if occursin(juliabase, filename)
166168
rpath = postpath(filename, juliabase)

0 commit comments

Comments
 (0)