Commit 17ca853
Fix orphan-files: vally doesn't URL-decode link targets
Root cause found by installing @microsoft/vally-cli locally and reading its
source: extractFileReferences' regex handles literal brackets in a link URL
fine (it only excludes parens/whitespace), but orphan-files.js resolves
ref.normalized directly against the filesystem with no decodeURIComponent
step — so my earlier percent-encoded route.ts link (%5B%5D) never matched
the real path. Fixed by using the raw literal path (brackets and all) with
a bracket-free link label instead. Verified locally: vally lint now reports
3/3 checks passed, orphan-files 18/18 reachable.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 235f062 commit 17ca853
1 file changed
Lines changed: 1 addition & 1 deletion
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
| 34 | + | |
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
| |||
0 commit comments