summaryrefslogtreecommitdiff
path: root/installer
diff options
context:
space:
mode:
Diffstat (limited to 'installer')
-rw-r--r--installer/mod.ts2
-rw-r--r--installer/test.ts2
2 files changed, 2 insertions, 2 deletions
diff --git a/installer/mod.ts b/installer/mod.ts
index 927485342..c38f1dbd4 100644
--- a/installer/mod.ts
+++ b/installer/mod.ts
@@ -227,7 +227,7 @@ export async function install(
// ensure script that is being installed exists
const ps = run({
- args: ["deno", "fetch", "--reload", moduleUrl],
+ args: [Deno.execPath, "fetch", "--reload", moduleUrl],
stdout: "inherit",
stderr: "inherit"
});
diff --git a/installer/test.ts b/installer/test.ts
index 02a1aade1..2309be443 100644
--- a/installer/test.ts
+++ b/installer/test.ts
@@ -16,7 +16,7 @@ const isWindows = Deno.platform.os === "win";
async function startFileServer(): Promise<void> {
fileServer = run({
args: [
- "deno",
+ Deno.execPath,
"run",
"--allow-read",
"--allow-net",