Skip to content

Commit

Permalink
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
Browse files Browse the repository at this point in the history
  • Loading branch information
MattiasBuelens committed Jan 11, 2025
1 parent ad68d08 commit 61255ff
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/internal/webstreams/readablestream.js
Original file line number Diff line number Diff line change
Expand Up @@ -925,7 +925,7 @@ class ReadableStreamBYOBReader {
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
this[kState] = {
stream: undefined,
requestIntoRequests: [],
readIntoRequests: [],
close: {
promise: undefined,
resolve: undefined,
Expand Down Expand Up @@ -1031,7 +1031,7 @@ class ReadableStreamBYOBReader {
[kInspect](depth, options) {
return customInspect(depth, options, this[kType], {
stream: this[kState].stream,
requestIntoRequests: this[kState].requestIntoRequests.length,
readIntoRequests: this[kState].readIntoRequests.length,
close: this[kState].close.promise,
});
}
Expand Down

0 comments on commit 61255ff

Please sign in to comment.