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

writeFile doesn't create a new file. #2

Closed
tamulj opened this issue Feb 17, 2016 · 1 comment
Closed

writeFile doesn't create a new file. #2

tamulj opened this issue Feb 17, 2016 · 1 comment

Comments

@tamulj
Copy link

tamulj commented Feb 17, 2016

I'm a bit unclear why appendFile will add a new file but writeFile will throw an error instead of creating the file like the node fs will. Is this an oversight or intended behavior?

@streamich
Copy link
Owner

Thanks, for pointing this out. It's an oversight, but now fixed:

npm install memfs@0.0.8

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