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:
parent
9da0dc16ad
commit
7c6cd8b867
@ -551,7 +551,7 @@ func RemoveTeamIDFromProtectedBranch(ctx context.Context, p *ProtectedBranch, te
|
|||||||
p.MergeWhitelistTeamIDs = util.SliceRemoveAll(p.MergeWhitelistTeamIDs, teamID)
|
p.MergeWhitelistTeamIDs = util.SliceRemoveAll(p.MergeWhitelistTeamIDs, teamID)
|
||||||
|
|
||||||
if lenIDs != len(p.WhitelistTeamIDs) ||
|
if lenIDs != len(p.WhitelistTeamIDs) ||
|
||||||
lenForcePushIDs != len(p.ForcePushWhitelistTeamIDs) ||
|
lenForcePushIDs != len(p.ForcePushWhitelistTeamIDs) ||
|
||||||
lenApprovalIDs != len(p.ApprovalsWhitelistTeamIDs) ||
|
lenApprovalIDs != len(p.ApprovalsWhitelistTeamIDs) ||
|
||||||
lenMergeIDs != len(p.MergeWhitelistTeamIDs) {
|
lenMergeIDs != len(p.MergeWhitelistTeamIDs) {
|
||||||
if _, err := db.GetEngine(ctx).ID(p.ID).Cols(
|
if _, err := db.GetEngine(ctx).ID(p.ID).Cols(
|
||||||
|
Loading…
Reference in New Issue
Block a user