memory-fs icon indicating copy to clipboard operation
memory-fs copied to clipboard

Allow writefile to be called with empty string

Open Janpot opened this issue 7 years ago • 1 comments

Fixes https://github.com/webpack/memory-fs/issues/57

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

Janpot avatar Apr 05 '18 21:04 Janpot

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

roberttod avatar Sep 12 '18 22:09 roberttod