Skip to content

Commit

Permalink
[temporary] Extend the file not found message
Browse files Browse the repository at this point in the history
  • Loading branch information
aeqz committed Jan 24, 2023
1 parent 446b52b commit cef3996
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Xrefcheck/Verify.hs
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,13 @@ data ResponseResult

instance Given ColorMode => Buildable VerifyError where
build = \case
LocalFileDoesNotExist file | '\\' `elem` unRelPosixLink file ->
[int||
File does not exist:
#{file}
Its reference contains a backslash. Maybe it uses the wrong path separator.
|]

LocalFileDoesNotExist file ->
[int||
File does not exist:
Expand Down

0 comments on commit cef3996

Please sign in to comment.