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 and danielleadams committed Jan 3, 2023
1 parent 210cbcb commit 6f080e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/webstreams/adapters.js
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 6f080e2

Please sign in to comment.