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 df78515

Browse filesBrowse files
MattiasBuelensaduh95
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 4a77a9e commit df78515
Copy full SHA for df78515

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
@@ -925,7 +925,7 @@ class ReadableStreamBYOBReader {
925925
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
926926
this[kState] = {
927927
stream: undefined,
928-
requestIntoRequests: [],
928+
readIntoRequests: [],
929929
close: {
930930
promise: undefined,
931931
resolve: undefined,
@@ -1031,7 +1031,7 @@ class ReadableStreamBYOBReader {
10311031
[kInspect](depth, options) {
10321032
return customInspect(depth, options, this[kType], {
10331033
stream: this[kState].stream,
1034-
requestIntoRequests: this[kState].requestIntoRequests.length,
1034+
readIntoRequests: this[kState].readIntoRequests.length,
10351035
close: this[kState].close.promise,
10361036
});
10371037
}

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.