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

View File

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