Commit 96ed730
committed
Fix link checker false positives on root-relative asset links
lychee cannot resolve links like /assets/img/foo.png without being told
the repo root, so any changed file containing a pre-existing root-relative
link fails the check even though the link is valid. Pass --root-dir . so
lychee resolves these against the repo root.
Observed in PR #926, which failed on an unrelated pre-existing image link.1 parent ab1fa17 commit 96ed730
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
0 commit comments