summaryrefslogtreecommitdiff
path: root/tools/is_tty_test.py
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2019-05-03 23:15:16 +0200
committerRyan Dahl <ry@tinyclouds.org>2019-05-03 17:15:16 -0400
commitf6a9d7d7172df6422f895dcfe6f4267ad1b472da (patch)
tree086a9e3e75e7597f2d456c26749d9d9d64e51990 /tools/is_tty_test.py
parent36081171323e266760db8bed2f31a6e3be7d8839 (diff)
add "deno run" subcommand (#2215)
Diffstat (limited to 'tools/is_tty_test.py')
-rwxr-xr-xtools/is_tty_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/is_tty_test.py b/tools/is_tty_test.py
index 867fd7a1c..6f7509a8c 100755
--- a/tools/is_tty_test.py
+++ b/tools/is_tty_test.py
@@ -12,7 +12,7 @@ IS_TTY_TEST_TS = "tests/is_tty.ts"
def is_tty_test(deno_exe):
- cmd = [deno_exe, IS_TTY_TEST_TS]
+ cmd = [deno_exe, "run", IS_TTY_TEST_TS]
code, stdout, _ = tty_capture(cmd, b'')
assert code == 0
assert str(stdin.isatty()).lower() in stdout