From 4519f9a50db8852c5b70ff47481f0fc9d0fbe2f2 Mon Sep 17 00:00:00 2001 From: "Kevin (Kun) \"Kassimo\" Qian" Date: Tue, 6 Aug 2019 14:05:47 -0700 Subject: Make Deno.execPath a function (#2743) And throws without allow-env --- js/unit_test_runner.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'js/unit_test_runner.ts') 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 { const cliPerms = permsToCliFlags(perms); // run subsequent tests using same deno executable const args = [ - Deno.execPath, + Deno.execPath(), "run", "--no-prompt", ...cliPerms, -- cgit v1.2.3