Skip to content

Commit e4b7653

Browse files
GrantBirkiCopilot
andauthored
Update internal/cmd/root.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 56d9683 commit e4b7653

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

internal/cmd/root.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -152,9 +152,8 @@ func runCombine(cmd *cobra.Command, args []string) error {
152152

153153
Logger.Debug("starting gh-combine", "version", version.String())
154154

155-
// if the dependabot flag is set, set the branch prefix to "dependabot/"
156-
if dependabot {
157-
branchPrefix = "dependabot/"
155+
// if the dependabot flag is set and branchPrefix is not already set, set the branch prefix to "dependabot/"
156+
if dependabot && branchPrefix == "" {
158157
}
159158

160159
// Input validation

0 commit comments

Comments
 (0)