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:
Kohei Ueno authored and Danielle Adams committed 2023-01-03 08:38:53 -05:00
1 parent 210cbcbf89
commit 6f080e2968
1 file changed
+1 -1
+1 -1
View File
@@ -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