Skip to content

Commit

Permalink
try Fix selectNodeVersion function
Browse files Browse the repository at this point in the history
  • Loading branch information
Linnea Myllynen committed Aug 29, 2023
1 parent 786b35b commit 7058cf2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions deploy.sh
Original file line number Diff line number Diff line change
Expand Up @@ -67,11 +67,11 @@ fi
# Node Helpers
# ------------

# selectNodeVersion () {
# # This is ugly, and will break installs for any other node version:
# echo "Adding the path to node 14 bin directory to beginning of PATH"
# PATH=/opt/nodejs/14/bin/:$PATH
# }
selectNodeVersion () {
# This is ugly, and will break installs for any other node version:
echo "Adding the path to node bin directory to beginning of PATH"
PATH=/usr/local/bin/node/:$PATH
}

##################################################################################################################################
# Deployment
Expand All @@ -86,7 +86,7 @@ if [[ "$IN_PLACE_DEPLOYMENT" -ne "1" ]]; then
fi

# 2. Select node version
# selectNodeVersion
selectNodeVersion

# 3. Install npm packages
if [ -e "$DEPLOYMENT_TARGET/package.json" ]; then
Expand Down

0 comments on commit 7058cf2

Please sign in to comment.