chore: slice loop replace (#173)

This commit is contained in:
guangwu 2023-10-03 07:24:17 +08:00 committed by GitHub
parent 7a59d0929c
commit 48c55af373
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -120,9 +120,7 @@ func getFiles(f iofs.ReadDirFS, name string) ([]string, error) {
return nil, nil
}
for _, f := range files {
v = append(v, f)
}
v = append(v, files...)
continue
}