summaryrefslogtreecommitdiff
path: root/js/unit_test_runner.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 /js/unit_test_runner.ts
parentccee2f01ba2f6304720ab17e99dee17bf6687bd8 (diff)
Make Deno.execPath a function (#2743)
And throws without allow-env
Diffstat (limited to 'js/unit_test_runner.ts')
-rwxr-xr-xjs/unit_test_runner.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/unit_test_runner.ts b/js/unit_test_runner.ts
index 55ccd14bf..24dae7706 100755
--- a/js/unit_test_runner.ts
+++ b/js/unit_test_runner.ts
@@ -53,7 +53,7 @@ async function main(): Promise<void> {
const cliPerms = permsToCliFlags(perms);
// run subsequent tests using same deno executable
const args = [
- Deno.execPath,
+ Deno.execPath(),
"run",
"--no-prompt",
...cliPerms,