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

fs.rmdirSync('/') doesnt work #42

Open
namnm opened this issue Jul 14, 2017 · 2 comments
Open

fs.rmdirSync('/') doesnt work #42

namnm opened this issue Jul 14, 2017 · 2 comments

Comments

@namnm
Copy link

namnm commented Jul 14, 2017

It should remove the whole things, but instead it throws MemoryFileSystemError(errors.code.EPERM, _path)

This can be a small fix to remove everything instead of throw an error.

@TheLarkInn
Copy link
Member

Thank you so much for reporting this! We'd love a PR if you are willing.

@namnm
Copy link
Author

namnm commented Jul 14, 2017

Will make a PR soon

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