mirror of
https://github.com/go-gitea/gitea
synced 2025-07-22 18:28:37 +00:00
Lock gofumpt to v0.3.0 and run it (#18866)
We can't depend on `latest` version of gofumpt because the output will not be stable across versions. Lock it down to the latest version released yesterday and run it again.
This commit is contained in:
@@ -30,7 +30,8 @@ func NewNotifier() base.Notifier {
|
||||
}
|
||||
|
||||
func (r *indexerNotifier) NotifyCreateIssueComment(doer *user_model.User, repo *repo_model.Repository,
|
||||
issue *models.Issue, comment *models.Comment, mentions []*user_model.User) {
|
||||
issue *models.Issue, comment *models.Comment, mentions []*user_model.User,
|
||||
) {
|
||||
if comment.Type == models.CommentTypeComment {
|
||||
if issue.Comments == nil {
|
||||
if err := issue.LoadDiscussComments(); err != nil {
|
||||
|
Reference in New Issue
Block a user