Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion lib/internal/streams/writable.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@ function WritableState(options, stream, isDuplex) {
this.corked = 0;

// The callback that's passed to _write(chunk, cb).
this.onwrite = onwrite.bind(undefined, stream);
this.onwrite = (er) => onwrite(stream, er);

// The amount that is being written when _write is called.
this.writelen = 0;
Expand Down
Loading