Skip to content

Commit 2e954fc

Browse files
Normalize paths on Windows
1 parent 9019829 commit 2e954fc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/utilities.jl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -533,7 +533,7 @@ function url(m::Method)
533533
file = string(m.file)
534534
if startswith(file, root) || startswith(realpath(file), root)
535535
base = "https://github.com/$repo/tree"
536-
filename = lstrip(file[(length(root)+1):end], '/')
536+
filename = join(splitpath(lstrip(file[(length(root)+1):end], '/')), '/')
537537
return "$base/$commit/$filename#L$(m.line)"
538538
else
539539
return ""

0 commit comments

Comments
 (0)