Ensures exactly one hyphen between prefix and issue number regardless of whether user provides trailing hyphen. Before: bd init --prefix wy- → Issues: wy--1, wy--2 (double hyphen) bd init --prefix wy → Issues: wy-1, wy-2 (single hyphen) After: bd init --prefix wy- → Issues: wy-1, wy-2 (single hyphen) bd init --prefix wy → Issues: wy-1, wy-2 (single hyphen) The hyphen is added automatically during ID generation in CreateIssue(), so the stored prefix should never include trailing hyphens. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
2.2 KiB
2.2 KiB