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

Fixed issue where fs.readdirSync fails when both recursive and withFileTypes. #151

Open
wants to merge 15 commits into
base: develop
Choose a base branch
from

Conversation

yemi-kelani
Copy link
Member

@yemi-kelani yemi-kelani commented Feb 7, 2024

Encountered a node.js issue where fs.readdirSync wasn't reliably reading the filesystem after doing a clean install of the vscode extension and running npm install. I'm not sure why I just started encountering this error now but this PR rewrites the getDirectoryContent function to not use recursive with fs.readdirSync and adds error handling to be cautious

I was using node v18.17.1 which is the version others had the issue on nodejs/node#51773

Also allow collection names and namespaces to be initialized with underscores in them _

@yemi-kelani yemi-kelani force-pushed the develop branch 2 times, most recently from b7d472b to 9904fd0 Compare April 27, 2024 01:52
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

Successfully merging this pull request may close these issues.

2 participants