Skip to content

Commit

Permalink
fix file paths for unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
wies committed Nov 22, 2024
1 parent 37d4844 commit 2d3e0d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bin/raven.ml
Original file line number Diff line number Diff line change
Expand Up @@ -190,10 +190,10 @@ let parse_and_check_all config file_names =
(Set.empty (module String))
(List.rev_map ~f:(fun file_name ->
let norm_dir = normalizeFilename (Unix.getcwd ()) config.base_dir in
let file_name = normalizeFilename norm_dir file_name in
let norm_file_name = normalizeFilename norm_dir file_name in
let file_dir =
if String.(config.base_dir <> "") then norm_dir
else Stdlib.Filename.dirname file_name
else Stdlib.Filename.dirname norm_file_name
in
(file_dir, file_name, false)) file_names)
empty_prog
Expand Down

0 comments on commit 2d3e0d7

Please sign in to comment.