Skip to content

Commit 2179baa

Browse files
author
Henry Goodman
committed
Make fmt whitespace fix
1 parent c974bab commit 2179baa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: models/git/protected_branch.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -551,7 +551,7 @@ func RemoveTeamIDFromProtectedBranch(ctx context.Context, p *ProtectedBranch, te
551551
p.MergeWhitelistTeamIDs = util.SliceRemoveAll(p.MergeWhitelistTeamIDs, teamID)
552552

553553
if lenIDs != len(p.WhitelistTeamIDs) ||
554-
lenForcePushIDs != len(p.ForcePushWhitelistTeamIDs) ||
554+
lenForcePushIDs != len(p.ForcePushWhitelistTeamIDs) ||
555555
lenApprovalIDs != len(p.ApprovalsWhitelistTeamIDs) ||
556556
lenMergeIDs != len(p.MergeWhitelistTeamIDs) {
557557
if _, err := db.GetEngine(ctx).ID(p.ID).Cols(

0 commit comments

Comments
 (0)