Skip to content

Commit c04fb86

Browse files
committed
improvements
1 parent 86bdf96 commit c04fb86

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

services/pull/pull.go

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -292,10 +292,8 @@ func ChangeTargetBranch(ctx context.Context, pr *issues_model.PullRequest, doer
292292
return err
293293
}
294294

295-
if !pr.HasMerged {
296-
if err = syncCommitDivergence(ctx, pr); err != nil {
297-
return fmt.Errorf("syncCommitDivergence: %w", err)
298-
}
295+
if err = syncCommitDivergence(ctx, pr); err != nil {
296+
return fmt.Errorf("syncCommitDivergence: %w", err)
299297
}
300298

301299
// Create comment

0 commit comments

Comments
 (0)