diff options
Diffstat (limited to 'cli/js/os.ts')
-rw-r--r-- | cli/js/os.ts | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/cli/js/os.ts b/cli/js/os.ts index 2a68ff8d3..309f5e1ff 100644 --- a/cli/js/os.ts +++ b/cli/js/os.ts @@ -3,13 +3,6 @@ import { sendSync } from "./dispatch_json.ts"; import { errors } from "./errors.ts"; import * as util from "./util.ts"; -/** Check if running in terminal. - * - * console.log(Deno.isTTY().stdout); - */ -export function isTTY(): { stdin: boolean; stdout: boolean; stderr: boolean } { - return sendSync("op_is_tty"); -} /** Get the loadavg. * Requires the `--allow-env` flag. * |