mirror of
https://github.com/nodejs/node.git
synced 2026-11-27 17:52:27 -05:00
stream: fix typo in adapters.js (#45515)
`isReadableNodestream` -> `isReadableNodeStream` PR-URL: https://github.com/nodejs/node/pull/45515 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
This commit is contained in:
1 parent
210cbcbf89
commit
6f080e2968
1 file changed
+1
-1
@@ -559,7 +559,7 @@ function newStreamReadableFromReadableStream(readableStream, options = kEmptyObj
|
||||
*/
|
||||
function newReadableWritablePairFromDuplex(duplex) {
|
||||
// Not using the internal/streams/utils isWritableNodeStream and
|
||||
// isReadableNodestream utilities here because they will return false
|
||||
// isReadableNodeStream utilities here because they will return false
|
||||
// if the duplex was created with writable or readable options set to
|
||||
// false. Instead, we'll check the readable and writable state after
|
||||
// and return closed WritableStream or closed ReadableStream as
|
||||
|
||||
Reference in new issue
Block a user