diff options
Diffstat (limited to 'ext/node')
-rw-r--r-- | ext/node/polyfills/tty.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/tty.js b/ext/node/polyfills/tty.js index 705644d7c..c44f7e946 100644 --- a/ext/node/polyfills/tty.js +++ b/ext/node/polyfills/tty.js @@ -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({ |