-
Notifications
You must be signed in to change notification settings - Fork 16
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: correctly treat absolute paths against
dir
Absolute paths should be rooted from the `--dir` path, not against the base directory of the examined file. For example, given file in `$DIR/sub/a.html` with a link to `/other/b.html` and deadlinks invoked with `--dir $DIR`, that link should be evaluated as `$DIR/other/b.html`, not as `$DIR/sub/other/b.html`.
- Loading branch information
Showing
2 changed files
with
58 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters