mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-30 22:39:58 +02:00
all: Run modernize -fix ./...
This commit is contained in:
@@ -539,7 +539,7 @@ func expandDefaultValues(values []string, defaults []string) []string {
|
||||
|
||||
func toLowerSlice(in any) []string {
|
||||
out := cast.ToStringSlice(in)
|
||||
for i := 0; i < len(out); i++ {
|
||||
for i := range out {
|
||||
out[i] = strings.ToLower(out[i])
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user