Skip to content

Commit

Permalink
Use specified deno dir (#791)
Browse files Browse the repository at this point in the history
Signed-off-by: Marcos Candeia <[email protected]>
  • Loading branch information
mcandeia authored Aug 21, 2024
1 parent 21822f2 commit 79e4555
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion daemon/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,12 @@ const runCmd = cmd
args,
stdout: "piped",
stderr: "piped",
env: { PORT: `${WORKER_PORT}` },
env: {
PORT: `${WORKER_PORT}`,
...Deno.env.get("DENO_DIR_RUN")
? { DENO_DIR: Deno.env.get("DENO_DIR_RUN") }
: {},
},
})
: null;

Expand Down

0 comments on commit 79e4555

Please sign in to comment.