streamich / memfs

JavaScript file system utilities
http://streamich.github.io/memfs/
Apache License 2.0
1.77k stars 130 forks source link

fix: ensure files in subdirectories are returned as buffers when calling `toJSON` with `asBuffer` #1041

Closed elegaanz closed 4 months ago

elegaanz commented 5 months ago

Without that, asBuffer only works for files at the root of the volume, not those in sub-directories.

G-Rath commented 4 months ago

Thanks, I think this make sense - any chance you could add a test though?

github-actions[bot] commented 4 months ago

:tada: This PR is included in version 4.9.4 :tada:

The release is available on:

Your semantic-release bot :package::rocket: