Skip to content

Commit d7aefc0

Browse files
MattiasBuelensmarco-ippolito
authored andcommitted
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
PR-URL: #56560 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Luigi Pinca <[email protected]>
1 parent d84be84 commit d7aefc0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/internal/webstreams/readablestream.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -918,7 +918,7 @@ class ReadableStreamBYOBReader {
918918
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
919919
this[kState] = {
920920
stream: undefined,
921-
requestIntoRequests: [],
921+
readIntoRequests: [],
922922
close: {
923923
promise: undefined,
924924
resolve: undefined,
@@ -1024,7 +1024,7 @@ class ReadableStreamBYOBReader {
10241024
[kInspect](depth, options) {
10251025
return customInspect(depth, options, this[kType], {
10261026
stream: this[kState].stream,
1027-
requestIntoRequests: this[kState].requestIntoRequests.length,
1027+
readIntoRequests: this[kState].readIntoRequests.length,
10281028
close: this[kState].close.promise,
10291029
});
10301030
}

0 commit comments

Comments
 (0)