Skip to content

Commit

Permalink
fix(runtime): fix upload-dependencies tar path (#1891)
Browse files Browse the repository at this point in the history
  • Loading branch information
0fatal committed Mar 7, 2024
1 parent 896386d commit bc948e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion runtimes/nodejs/upload-dependencies.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ if [ -n "$NODE_MODULES_PUSH_URL" ]; then
echo "Uploading node_modules to $NODE_MODULES_PUSH_URL"

# tar `node_modules` to node_modules.tar
tar -cf $NODE_MODULES_PATH/node_modules.tar $NODE_MODULES_PATH/node_modules
tar -cf $NODE_MODULES_PATH/node_modules.tar -C $NODE_MODULES_PATH node_modules

end_time_1=$(date +%s)
elapsed_time=$(expr $end_time_1 - $start_time)
Expand Down

0 comments on commit bc948e2

Please sign in to comment.