Skip to content

Commit

Permalink
stream: fix toWeb typo
Browse files Browse the repository at this point in the history
PR-URL: #39496
Reviewed-By: Matteo Collina <[email protected]>
Reviewed-By: Benjamin Gruenbaum <[email protected]>
Reviewed-By: Tobias Nießen <[email protected]>
  • Loading branch information
ronag committed Jul 25, 2021
1 parent 062f8e3 commit 79f4d5a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/internal/streams/readable.js
Original file line number Diff line number Diff line change
Expand Up @@ -1386,5 +1386,5 @@ Readable.fromWeb = function(readableStream, options) {
};

Readable.toWeb = function(streamReadable) {
return lazyWebStreams().newStreamReadableFromReadableStream(streamReadable);
return lazyWebStreams().newReadableStreamFromStreamReadable(streamReadable);
};

0 comments on commit 79f4d5a

Please sign in to comment.