Skip to content

Commit 6a20d96

Browse files
committed
improve command used output when --dependabot is passed in
1 parent aebaf55 commit 6a20d96

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

internal/cmd/root.go

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,8 @@ func buildCommandString(args []string) string {
424424
cmd := []string{"gh combine"}
425425
cmd = append(cmd, args...)
426426

427-
if branchPrefix != "" {
427+
// Only add branch-prefix if it's not due to the dependabot flag
428+
if branchPrefix != "" && !(dependabot && branchPrefix == "dependabot/") {
428429
cmd = append(cmd, "--branch-prefix", branchPrefix)
429430
}
430431
if branchSuffix != "" {

0 commit comments

Comments
 (0)