mirror of
https://github.com/nodejs/node.git
synced 2026-11-09 15:11:11 -05:00
stream: fix toWeb typo
PR-URL: https://github.com/nodejs/node/pull/39496 Reviewed-By: Matteo Collina <matteo.collina@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
This commit is contained in:
1 parent
062f8e3730
commit
79f4d5a345
1 file changed
+1
-1
@@ -1386,5 +1386,5 @@ Readable.fromWeb = function(readableStream, options) {
|
||||
};
|
||||
|
||||
Readable.toWeb = function(streamReadable) {
|
||||
return lazyWebStreams().newStreamReadableFromReadableStream(streamReadable);
|
||||
return lazyWebStreams().newReadableStreamFromStreamReadable(streamReadable);
|
||||
};
|
||||
Reference in new issue
Block a user