Skip to content

Commit b365c97

Browse files
committed
remove old func
1 parent 6c3a5ab commit b365c97

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

internal/cmd/combine_prs.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -145,12 +145,6 @@ func createPullRequestWithNumber(ctx context.Context, client RESTClientInterface
145145
return prResponse.Number, nil
146146
}
147147

148-
// Keep CombinePRs for backward compatibility
149-
func CombinePRs(ctx context.Context, graphQlClient *api.GraphQLClient, restClient RESTClientInterface, repo github.Repo, pulls github.Pulls) error {
150-
_, _, _, err := CombinePRsWithStats(ctx, graphQlClient, restClient, repo, pulls)
151-
return err
152-
}
153-
154148
// isMergeConflictError checks if the error is a 409 Merge Conflict
155149
func isMergeConflictError(err error) bool {
156150
// Check if the error message contains "HTTP 409: Merge conflict"

0 commit comments

Comments
 (0)