Skip to content

Commit c318cd0

Browse files
committed
fix lint
1 parent 5807ae0 commit c318cd0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

routers/web/repo/issue_view.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -936,7 +936,7 @@ func preparePullViewReviewAndMerge(ctx *context.Context, issue *issues_model.Iss
936936
}
937937
_, coAuthors := pull_service.GetSquashMergeCommitMessages(ctx, pull)
938938

939-
defaultSquashMergeBody += fmt.Sprintf("\n%s", coAuthors)
939+
defaultSquashMergeBody = fmt.Sprintf("%s\n%s", defaultSquashMergeBody, coAuthors)
940940

941941
commitsMsg, err := getPullViewSquashMergeCommits(ctx, issue)
942942
if err != nil {

0 commit comments

Comments
 (0)