Skip to content

Commit

Permalink
Linter.
Browse files Browse the repository at this point in the history
  • Loading branch information
ice-myles authored and ice-ares committed Nov 3, 2023
1 parent b1961e0 commit 9deae2a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,7 @@ func (u *updater) updateBadgesAndStatistics(ctx context.Context, usr *commonUser
return errors.Wrapf(multierror.Append(mErr, nil).ErrorOrNil(), "can't update badge statistics")
}

//nolint:gocognit,nestif,revive // .
func diffBadgeStatistics(usr *commonUser, newBadgesTypeCount map[badges.Type]int64) map[badges.Type]int64 {
oldBadgesTypeCounts := make(map[badges.Type]int64, len(badges.AllTypes))
oldGroupCounts := make(map[badges.GroupType]int64, len(badges.AllGroups))
Expand Down

0 comments on commit 9deae2a

Please sign in to comment.