fix walk
Some checks failed
docker / build-docker (push) Failing after 1m49s

This commit is contained in:
royalcat 2024-12-05 13:58:07 +03:00
parent fa084118c3
commit 95016d54c1

View file

@ -143,8 +143,12 @@ func readdirnames(ctx context.Context, vfs Filesystem, dir string) ([]string, er
return nil, err
}
var names []string
names := make([]string, 0, len(files))
for _, file := range files {
if file == nil {
continue
}
names = append(names, file.Name())
}