diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2024-01-24 21:09:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-01-24 20:09:19 +0000 |
commit | fb24b004ba598cbc618e6a27b657fc38a5f84af2 (patch) | |
tree | 7a47d5424c469754cb86ccbf817c0e8b5ed0e6a9 /runtime/js/40_tty.js | |
parent | 8e67bf829aa110c6318d2043e6f4f9d4c97f1a51 (diff) |
chore: improve deprecation hint for Deno.isatty() (#22086)
Diffstat (limited to 'runtime/js/40_tty.js')
-rw-r--r-- | runtime/js/40_tty.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/js/40_tty.js b/runtime/js/40_tty.js index 97e35e0c3..d6777a62d 100644 --- a/runtime/js/40_tty.js +++ b/runtime/js/40_tty.js @@ -19,7 +19,7 @@ function isatty(rid) { internals.warnOnDeprecatedApi( "Deno.isatty()", new Error().stack, - "Use `stdStream.isTerminal()` instead.", + "Use `Deno.stdin.isTerminal()`, `Deno.stdout.isTerminal()` or `Deno.stderr.isTerminal()` instead.", ); return op_is_terminal(rid); } |