Closed jazkh closed 4 years ago
I also have this issue. depth=0 ignores the top-level folders.
Still happening with v3.1.3
@TotallyInformation Is this still an issue?
Yes, I'm afraid so. unless there is another update beyond 3.1.3 that I haven't tested.
I haven't tested with v3.2.0 as yet however.
Appears to be fixed in v3.3.0 so can probably be closed now.
By default readdirp does depth: 1 If I change this to depth: 0 then readdirp does not show the sub-directory name. I don't want to list sub-directory files but only sub-directories name. How can I achieve this?