mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-29 22:29:56 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -166,7 +166,7 @@ func FilterGlobParts(a []string) []string {
|
||||
|
||||
// HasGlobChar returns whether s contains any glob wildcards.
|
||||
func HasGlobChar(s string) bool {
|
||||
for i := 0; i < len(s); i++ {
|
||||
for i := range len(s) {
|
||||
if syntax.Special(s[i]) {
|
||||
return true
|
||||
}
|
||||
|
Reference in New Issue
Block a user