From 7c6cd8b867c1ed0bc924582ad2d15b38736afb95 Mon Sep 17 00:00:00 2001 From: Henry Goodman <13032204@student.uts.edu.au> Date: Fri, 17 Nov 2023 01:36:03 +1100 Subject: [PATCH] Make fmt whitespace fix --- models/git/protected_branch.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/models/git/protected_branch.go b/models/git/protected_branch.go index 6a68f5d0ee..1b693ff72a 100644 --- a/models/git/protected_branch.go +++ b/models/git/protected_branch.go @@ -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(