mirror of
https://github.com/denoland/deno.git
synced 2024-12-22 15:24:46 -05:00
fix(ext/node): use ext/io stdio in WriteStream (#23354)
This is the same issue as https://github.com/denoland/deno/pull/23044 but in `WriteStream`. Adding a docusarus test in npm_smoke_tests repo.
This commit is contained in:
parent
402d59eea9
commit
1fadb940f4
1 changed files with 1 additions and 1 deletions
|
@ -80,7 +80,7 @@ export class WriteStream extends Socket {
|
|||
if (fd > 2) throw new Error("Only fd 0, 1 and 2 are supported.");
|
||||
|
||||
const tty = new TTY(
|
||||
fd === 0 ? Deno.stdin : fd === 1 ? Deno.stdout : Deno.stderr,
|
||||
fd === 0 ? io.stdin : fd === 1 ? io.stdout : io.stderr,
|
||||
);
|
||||
|
||||
super({
|
||||
|
|
Loading…
Reference in a new issue