Skip to content

Commit

Permalink
Pass DENO_DIR to deno eval in investigate
Browse files Browse the repository at this point in the history
Apparently deno eval now creats a gen dir...
this fails given lambda's readonly permission to home dir
  • Loading branch information
hayd committed Nov 22, 2020
1 parent 8246fc0 commit 789e625
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtime/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ function investigate {
type -P deno \
|| error "deno executable not found in PATH"

deno eval 'Deno.version.deno' \
DENO_DIR=/tmp/deno_dir NO_COLOR=true deno eval 'Deno.version.deno' \
|| error "bad deno executable"

[ -f $LAMBDA_TASK_ROOT/$HANDLER_FILE ] \
Expand Down

0 comments on commit 789e625

Please sign in to comment.