Skip to content

Commit ac2f38b

Browse files
Merge pull request #990 from WhyThat/fix-canonicalizeUri
preserve URI format in `canonicalizeUri`
2 parents ee2a297 + dc51b40 commit ac2f38b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

analysis/src/Files.ml

+1-1
Original file line numberDiff line numberDiff line change
@@ -107,4 +107,4 @@ let canonicalizeUri uri =
107107
if Cfg.isTestMode.contents then uri |> Uri.toString
108108
else
109109
let path = Uri.toPath uri in
110-
path |> Unix.realpath
110+
path |> Unix.realpath |> Uri.fromPath |> Uri.toString

0 commit comments

Comments
 (0)