mirror of
https://github.com/nodejs/node.git
synced 2026-11-24 21:50:36 -05:00
stream: fix typo in ReadableStreamBYOBReader.readIntoRequests
PR-URL: https://github.com/nodejs/node/pull/56560 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
This commit is contained in:
1 parent
d84be843e3
commit
d7aefc0524
1 file changed
+2
-2
@@ -918,7 +918,7 @@ class ReadableStreamBYOBReader {
|
||||
throw new ERR_INVALID_ARG_TYPE('stream', 'ReadableStream', stream);
|
||||
this[kState] = {
|
||||
stream: undefined,
|
||||
requestIntoRequests: [],
|
||||
readIntoRequests: [],
|
||||
close: {
|
||||
promise: undefined,
|
||||
resolve: undefined,
|
||||
@@ -1024,7 +1024,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,
|
||||
});
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user