summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/_process
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-05-26 16:18:27 +0200
committerGitHub <noreply@github.com>2023-05-26 16:18:27 +0200
commita11681a9b02f2f4a0f2bf6945a44b2937c6a9af1 (patch)
tree55b3a63959b2a935a86c30d8282fbe294f2bb892 /ext/node/polyfills/_process
parentd72e0281ff41a87c32aefd0876bace23470a4dc5 (diff)
refactor(node): use internal io and fs APIs (#19267)
Diffstat (limited to 'ext/node/polyfills/_process')
-rw-r--r--ext/node/polyfills/_process/streams.mjs2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/node/polyfills/_process/streams.mjs b/ext/node/polyfills/_process/streams.mjs
index df014c11e..9096586c7 100644
--- a/ext/node/polyfills/_process/streams.mjs
+++ b/ext/node/polyfills/_process/streams.mjs
@@ -216,7 +216,7 @@ export const initStdin = () => {
enumerable: true,
configurable: true,
get() {
- return Deno.isatty?.(Deno.stdin.rid);
+ return Deno.isatty?.(io.stdin.rid);
},
});
stdin._isRawMode = false;