Unverified Commit 42bded83 authored by AdityaSrivast's avatar AdityaSrivast Committed by Joyee Cheung
Browse files

fs: throw ERR_INVALID_ARG_VALUE when buffer being written is empty

Fixes: https://github.com/nodejs/node/issues/21193
PR-URL: https://github.com/nodejs/node/pull/21262


Reviewed-By: default avatarJoyee Cheung <joyeec9h3@gmail.com>
Reviewed-By: default avatarJames M Snell <jasnell@gmail.com>
parent c7707a1c
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment