Skip to content

Commit dfbfd56

Browse files
committed
Fix gofumpt formatting: group same-type parameters
gofumpt with extra-rules enabled requires consecutive parameters of the same type to be grouped together. Changed: commitSHA string, treePath string To: commitSHA, treePath string
1 parent 5de25c1 commit dfbfd56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/issues/comment.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1088,7 +1088,7 @@ func FindCommitComments(ctx context.Context, repoID int64, commitSHA string) (Co
10881088
}
10891089

10901090
// FindCommitLineComments finds code comments for a specific file and line in a commit
1091-
func FindCommitLineComments(ctx context.Context, commitSHA string, treePath string) (CommentList, error) {
1091+
func FindCommitLineComments(ctx context.Context, commitSHA, treePath string) (CommentList, error) {
10921092
comments := make([]*Comment, 0, 10)
10931093
return comments, db.GetEngine(ctx).
10941094
Where("commit_sha = ?", commitSHA).

0 commit comments

Comments
 (0)