Skip to content
This repository has been archived by the owner on Aug 15, 2024. It is now read-only.

Allow writefile to be called with empty string #58

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Janpot
Copy link
Member

@Janpot Janpot commented Apr 5, 2018

Fixes #57

This aligns memory-fs with native fs behavior when it comes to empty/missing arguments for writeFileSync

@roberttod
Copy link

@sokra I came across this issue today. Looks like a fairly straightforward fix, anything missing from this PR so that you could merge it?

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

Successfully merging this pull request may close these issues.

2 participants