Commit d16bc36
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
- ql
- ruby
- extractor/src
- ql/integration-tests/diagnostics
- syntax-error
- unknown-encoding
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
0 commit comments