micromatch / glob-fs

file globbing for node.js. speedy and powerful alternative to node-glob. This library is experimental and does not work on windows!
http://jonschlinkert.github.io/glob-fs
MIT License
55 stars 17 forks source link

`readdirPromise` does not respect `file.exclude` #28

Open marrowleaves opened 5 years ago

marrowleaves commented 5 years ago

I'm using the Promise-based API which doesn't seem to respect the file.exclude property. The excluded files are still returned.

It does work with the other readdir methods