Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Different behavior of fs.readdirSync in node and skpm #36

Open
VitaliyZaharenko opened this issue Aug 10, 2021 · 1 comment
Open

Different behavior of fs.readdirSync in node and skpm #36

VitaliyZaharenko opened this issue Aug 10, 2021 · 1 comment

Comments

@VitaliyZaharenko
Copy link

Hello.
In node fs.readdirSync not traverse all directory tree.
In @skpm version fs.readdirSync uses NSFileManagersubpathsAtPath: which according to the documentation:
"This method recurses the specified directory and its subdirectories. The method skips the “.” and “..” directories at each level of the recursion."

@mathieudutour
Copy link
Member

happy to accept a PR to fix it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants