fs: unecessary argument validation#29043
Conversation
|
It's not ensured because the user's |
|
Should that even be a valid option for |
|
I’ll update the PR if the consensus is to keep the check. But the error needs to be passed to the callback to ‘Writable’ and not directly emitted. Also do we then also need this check for writev? |
|
Fixed so that |
70f1792 to
0e1f130
Compare
|
@Trott this seems ready? |
|
Extra-cautious CITGM: https://ci.nodejs.org/view/Node.js-citgm/job/citgm-smoker/1970/ (queued) |
|
@ronag Would you be able to rebase this and take a look at the conflict? Thanks |
|
@danbev: rebased |
Writablealready assures that onlyBuffer's are passed to_write. Also this is not the "correct" way to handle errors inside_write.Checklist
make -j4 test(UNIX), orvcbuild test(Windows) passes