Skip to content

Commit

Permalink
Remove false positive. Refs: #4313
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Jan 12, 2025
1 parent 5c22643 commit 7afd0e0
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/core/request.ml
Original file line number Diff line number Diff line change
Expand Up @@ -408,9 +408,7 @@ let file_exists name =
try
Unix.access name [Unix.F_OK];
true
with
| Unix.Unix_error (Unix.EACCES, _, _) -> true
| Unix.Unix_error _ -> false
with Unix.Unix_error _ -> false

let file_is_readable name =
try
Expand Down

0 comments on commit 7afd0e0

Please sign in to comment.