Skip to content

Commit

Permalink
stream: fix typo in adapters.js (#45515)
Browse files Browse the repository at this point in the history
`isReadableNodestream` -> `isReadableNodeStream`

PR-URL: #45515
Reviewed-By: Daeyeon Jeong <daeyeon.dev@gmail.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
  • Loading branch information
cola119 authored Nov 19, 2022
1 parent f84aabf commit 70305bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/webstreams/adapters.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 70305bb

Please sign in to comment.