mirror of
https://github.com/go-gitea/gitea
synced 2025-07-06 18:47:19 +00:00
[Vendor] update go-swagger v0.21.0 -> v0.25.0 (#12670)
* Update go-swagger * vendor
This commit is contained in:
3
vendor/github.com/pelletier/go-toml/keysparsing.go
generated
vendored
3
vendor/github.com/pelletier/go-toml/keysparsing.go
generated
vendored
@ -5,7 +5,6 @@ package toml
|
||||
import (
|
||||
"errors"
|
||||
"fmt"
|
||||
"unicode"
|
||||
)
|
||||
|
||||
// Convert the bare key group string to an array.
|
||||
@ -109,5 +108,5 @@ func parseKey(key string) ([]string, error) {
|
||||
}
|
||||
|
||||
func isValidBareChar(r rune) bool {
|
||||
return isAlphanumeric(r) || r == '-' || unicode.IsNumber(r)
|
||||
return isAlphanumeric(r) || r == '-' || isDigit(r)
|
||||
}
|
||||
|
Reference in New Issue
Block a user