Skip to content

Commit

Permalink
Remove test workaround for canonicalize function in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
fhammerschmidt committed May 27, 2024
1 parent ac2f38b commit 0ca16aa
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 0 additions & 2 deletions analysis/src/Cfg.ml
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
let debugFollowCtxPath = ref false

let isDocGenFromCompiler = ref false

let isTestMode = ref false
6 changes: 2 additions & 4 deletions analysis/src/Files.ml
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,5 @@ let classifySourceFile path =
else Other
let canonicalizeUri uri =
if Cfg.isTestMode.contents then uri |> Uri.toString
else
let path = Uri.toPath uri in
path |> Unix.realpath |> Uri.fromPath |> Uri.toString
let path = Uri.toPath uri in
path |> Unix.realpath |> Uri.fromPath |> Uri.toString

0 comments on commit 0ca16aa

Please sign in to comment.