Skip to content

Commit

Permalink
Merge pull request #12 from hayd/fix-deps-deno-dir
Browse files Browse the repository at this point in the history
Copy DENO_DIR/deps from lambda function
  • Loading branch information
hayd committed Dec 3, 2019
2 parents 7b80576 + d3f7855 commit 6978e5f
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runtime/bootstrap
Original file line number Diff line number Diff line change
Expand Up @@ -125,8 +125,9 @@ cp -R /opt/.deno_dir/gen /tmp/deno_dir/gen &> /dev/null \
&& cp -R /opt/.deno_dir/deps /tmp/deno_dir/deps &> /dev/null \
&& cp -R /opt/.deno_dir/LAMBDA_TASK_ROOT/ /tmp/deno_dir/gen/file$LAMBDA_TASK_ROOT &> /dev/null \
|| true
# Then we overright with from the DENO_DIR in the function code.
# Then we overwrite with from the DENO_DIR in the function code.
cp -R $LAMBDA_TASK_ROOT/$DENO_DIR/gen /tmp/deno_dir/gen &> /dev/null \
&& cp -R $LAMBDA_TASK_ROOT/$DENO_DIR/deps /tmp/deno_dir/deps &> /dev/null \
&& cp -R $LAMBDA_TASK_ROOT/$DENO_DIR/LAMBDA_TASK_ROOT/ /tmp/deno_dir/gen/file$LAMBDA_TASK_ROOT &> /dev/null \
|| echo "warn: unable to import '$DENO_DIR/' as DENO_DIR"

Expand Down

0 comments on commit 6978e5f

Please sign in to comment.