bd sync: 2025-11-09 14:53:59

This commit is contained in:
Steve Yegge
2025-11-09 14:53:59 -08:00
parent d482d9ea6e
commit 83472aca3d
9 changed files with 288 additions and 143 deletions

View File

@@ -6,8 +6,9 @@ import (
)
// ExtractIssuePrefix extracts the prefix from an issue ID like "bd-123" -> "bd"
// Only considers the first hyphen, so "vc-baseline-test" -> "vc"
func ExtractIssuePrefix(issueID string) string {
idx := strings.LastIndex(issueID, "-")
idx := strings.Index(issueID, "-")
if idx <= 0 {
return ""
}