Skip to content

Commit

Permalink
chore: slice loop replace (#173)
Browse files Browse the repository at this point in the history
  • Loading branch information
testwill authored Oct 2, 2023
1 parent 7a59d09 commit 48c55af
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions server/filesystem/archive_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
}

Expand Down

0 comments on commit 48c55af

Please sign in to comment.