Skip to content

Commit 3917766

Browse files
lunnyyardenshoham
andauthored
Update models/git/protected_branch_list.go
Co-authored-by: Yarden Shoham <[email protected]>
1 parent 9d17ea4 commit 3917766

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

models/git/protected_branch_list.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ func (rules ProtectedBranchRules) sort() {
2929
rules[i].loadGlob()
3030
rules[j].loadGlob()
3131
if rules[i].isPlainName != rules[j].isPlainName {
32-
return rules[i].isPlainName // plain name comes first, so plan name means "less"
32+
return rules[i].isPlainName // plain name comes first, so plain name means "less"
3333
}
3434
return rules[i].CreatedUnix < rules[j].CreatedUnix
3535
})

0 commit comments

Comments
 (0)