summaryrefslogtreecommitdiff
path: root/tests/exec_path.ts
diff options
context:
space:
mode:
authorKevin (Kun) "Kassimo" Qian <kevinkassimo@gmail.com>2019-08-06 14:05:47 -0700
committerRyan Dahl <ry@tinyclouds.org>2019-08-06 17:05:47 -0400
commit4519f9a50db8852c5b70ff47481f0fc9d0fbe2f2 (patch)
treec56ebee9b57aa77df16f656e8f3ad50c65a9e2a9 /tests/exec_path.ts
parentccee2f01ba2f6304720ab17e99dee17bf6687bd8 (diff)
Make Deno.execPath a function (#2743)
And throws without allow-env
Diffstat (limited to 'tests/exec_path.ts')
-rw-r--r--tests/exec_path.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/exec_path.ts b/tests/exec_path.ts
index f09663d7e..b70b23237 100644
--- a/tests/exec_path.ts
+++ b/tests/exec_path.ts
@@ -1 +1 @@
-console.log(Deno.execPath);
+console.log(Deno.execPath());