Skip to content

Commit 0ca16aa

Browse files
Remove test workaround for canonicalize function in tests
1 parent ac2f38b commit 0ca16aa

File tree

2 files changed

+2
-6
lines changed

2 files changed

+2
-6
lines changed

Diff for: analysis/src/Cfg.ml

-2
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
let debugFollowCtxPath = ref false
22

33
let isDocGenFromCompiler = ref false
4-
5-
let isTestMode = ref false

Diff for: analysis/src/Files.ml

+2-4
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,5 @@ let classifySourceFile path =
104104
else Other
105105
106106
let canonicalizeUri uri =
107-
if Cfg.isTestMode.contents then uri |> Uri.toString
108-
else
109-
let path = Uri.toPath uri in
110-
path |> Unix.realpath |> Uri.fromPath |> Uri.toString
107+
let path = Uri.toPath uri in
108+
path |> Unix.realpath |> Uri.fromPath |> Uri.toString

0 commit comments

Comments
 (0)