Skip to content

Commit d85be9c

Browse files
Henry Goodmanhenrygoodman
Henry Goodman
authored andcommitted
Make fmt whitespace fix
1 parent f5422c1 commit d85be9c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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)