You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 22, 2023. It is now read-only.
Because I'm manually closing the file descriptor, I don't want fs.createWriteStream to close it for me, but it lacks the "autoClose": false option.
I'm currently working around this by setting stream.closed = true, but that's a hack that relies upon internal details of how fs.createWriteStream is implemented, so I'd rather not rely upon it.
The title is self-explanatory.
Because I'm manually closing the file descriptor, I don't want
fs.createWriteStreamto close it for me, but it lacks the"autoClose": falseoption.I'm currently working around this by setting
stream.closed = true, but that's a hack that relies upon internal details of howfs.createWriteStreamis implemented, so I'd rather not rely upon it.