fsPromises.glob
doesn't call exclude
with dirent when called withFileTypes: true
#53821
Labels
confirmed-bug
Issues with confirmed bugs.
fs
Issues and PRs related to the fs subsystem / file system.
Version
22.4.0
Platform
Subsystem
fs
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always reproduces when
withFileTypes
is true.What is the expected behavior? Why is that the expected behavior?
It should log a Dirent for the
b
directory.What do you see instead?
It only prints "b"
Additional information
fs.globSync
is not affected:The text was updated successfully, but these errors were encountered: