We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5e59e20 commit fb06325Copy full SHA for fb06325
lib/internal/streams/writable.js
@@ -724,7 +724,7 @@ function errorBuffer(state) {
724
725
if ((state[kState] & kBuffered) !== 0) {
726
for (let n = state.bufferedIndex; n < state.buffered.length; ++n) {
727
- const { chunk, length, callback } = state[kBufferedValue][n];
+ const { length, callback } = state[kBufferedValue][n];
728
const len = (state[kState] & kObjectMode) !== 0 ? 1 : length;
729
state.length -= len;
730
callback(state.errored ?? new ERR_STREAM_DESTROYED('write'));
0 commit comments