Skip to content

Commit 001119f

Browse files
julianknutsenclaude
andcommitted
fix: remove trailing dash from issue-prefix in beads config
ensure_config_yaml wrote issue-prefix with a trailing dash (e.g. "hw-"), causing bd to generate IDs with a double-dash prefix ("hw--"). bd adds its own separator, so the config value should be just the prefix. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 2dede9d commit 001119f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/gc/gc-beads-bd

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,7 +777,7 @@ ensure_config_yaml() {
777777
tmp=$(mktemp "$config_file.tmp.XXXXXX")
778778
cat > "$tmp" <<YAML
779779
issue_prefix: $prefix
780-
issue-prefix: ${prefix}-
780+
issue-prefix: ${prefix}
781781
dolt.auto-start: false
782782
YAML
783783
mv "$tmp" "$config_file"

0 commit comments

Comments
 (0)