1
1
mirror of https://github.com/go-gitea/gitea synced 2024-11-11 04:34:25 +00:00

Make fmt whitespace fix

This commit is contained in:
Henry Goodman 2023-11-17 01:36:03 +11:00 committed by Henry Goodman
parent 9da0dc16ad
commit 7c6cd8b867

View File

@ -551,7 +551,7 @@ func RemoveTeamIDFromProtectedBranch(ctx context.Context, p *ProtectedBranch, te
p.MergeWhitelistTeamIDs = util.SliceRemoveAll(p.MergeWhitelistTeamIDs, teamID)
if lenIDs != len(p.WhitelistTeamIDs) ||
lenForcePushIDs != len(p.ForcePushWhitelistTeamIDs) ||
lenForcePushIDs != len(p.ForcePushWhitelistTeamIDs) ||
lenApprovalIDs != len(p.ApprovalsWhitelistTeamIDs) ||
lenMergeIDs != len(p.MergeWhitelistTeamIDs) {
if _, err := db.GetEngine(ctx).ID(p.ID).Cols(