This commit is contained in:
Lunny Xiao 2022-10-23 17:30:29 +08:00
parent fbb17f37f9
commit 220d385e4d
No known key found for this signature in database
GPG key ID: C3B7C91B632F738A
2 changed files with 2 additions and 2 deletions

View file

@ -62,7 +62,7 @@ func init() {
db.RegisterModel(new(ProtectedBranch))
}
// IsRuleNameSpecial return true if it contains special charactor
// IsRuleNameSpecial return true if it contains special character
func IsRuleNameSpecial(ruleName string) bool {
for i := 0; i < len(ruleName); i++ {
if syntax.Special(ruleName[i]) {

View file

@ -20204,4 +20204,4 @@
"TOTPHeader": []
}
]
}
}