Skip to content

Commit 496912d

Browse files
cola119ruyadorno
authored andcommitted
stream: fix typo in adapters.js (#45515)
`isReadableNodestream` -> `isReadableNodeStream` PR-URL: #45515 Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com> Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
1 parent 076e9ee commit 496912d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/internal/webstreams/adapters.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -559,7 +559,7 @@ function newStreamReadableFromReadableStream(readableStream, options = kEmptyObj
559559
*/
560560
function newReadableWritablePairFromDuplex(duplex) {
561561
// Not using the internal/streams/utils isWritableNodeStream and
562-
// isReadableNodestream utilities here because they will return false
562+
// isReadableNodeStream utilities here because they will return false
563563
// if the duplex was created with writable or readable options set to
564564
// false. Instead, we'll check the readable and writable state after
565565
// and return closed WritableStream or closed ReadableStream as

0 commit comments

Comments
 (0)