Files
tea/cmd/issues/dependencies.go
Hugo Nijhuis 02893135ad
Some checks failed
check-and-test / Run govulncheck (pull_request) Successful in 29s
check-and-test / check-and-test (pull_request) Failing after 2m4s
fix: validate order of / and # in cross-repo dependency parsing
The previous parsing logic for cross-repo dependencies (owner/repo#123)
only checked if both "/" and "#" were present, but didn't verify that
"/" came before "#". This could cause inputs like "#123/owner/repo" to
incorrectly match the cross-repo pattern.

Now explicitly check that slashIdx < hashIdx before treating as cross-repo.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-06 13:55:34 +01:00

6.5 KiB