Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit d7aefc0

Browse filesBrowse files
MattiasBuelensmarco-ippolito
authored andcommitted
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
PR-URL: #56560 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent d84be84 commit d7aefc0
Copy full SHA for d7aefc0

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎lib/internal/webstreams/readablestream.js‎

Copy file name to clipboardExpand all lines: lib/internal/webstreams/readablestream.js
+2-2Lines changed: 2 additions & 2 deletions
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.