Skip to content

Commit d16bc36

Browse files
redsun82Copilot
andcommitted
Use relative paths in tree-sitter extractor diagnostics
Diagnostic `location.file` entries were using absolute paths (e.g. `/home/runner/work/...`), causing broken links in the GitHub UI. Now relativize against CWD (the source root during extraction), falling back to a properly percent-encoded `file:` URI for paths outside it. Fixes #21802 Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent 0b808e1 commit d16bc36

8 files changed

Lines changed: 521 additions & 99 deletions

File tree

Cargo.lock

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)