Skip to content

Commit c8adf37

Browse files
committed
fix on windows
1 parent 39fd774 commit c8adf37

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/CodeTracking.jl

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -199,6 +199,7 @@ function definition(::Type{String}, method::Method)
199199
file, line = whereis(method)
200200
line == 0 && return nothing
201201
src = src_from_file_or_REPL(file)
202+
src = replace(src, "\r"=>"")
202203
eol = isequal('\n')
203204
linestarts = Int[]
204205
istart = 1

0 commit comments

Comments
 (0)