diff --git a/server/filesystem/archive_test.go b/server/filesystem/archive_test.go index f97211e..88cb7ce 100644 --- a/server/filesystem/archive_test.go +++ b/server/filesystem/archive_test.go @@ -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 }