Skip to content

Commit

Permalink
Merge pull request #16395 from nsoranzo/dont_always_install_node_in_venv
Browse files Browse the repository at this point in the history
  • Loading branch information
mvdbeek authored Jul 13, 2023
2 parents eb36c37 + 6249746 commit 8d26b5c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/common_startup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ fi

# Install node if not installed
if [ -n "$VIRTUAL_ENV" ]; then
if ! in_venv "$(command -v node)" || [ "$(node --version)" != "v${NODE_VERSION}" ]; then
if ! command -v node >/dev/null || [ "$(node --version)" != "v${NODE_VERSION}" ]; then
echo "Installing node into $VIRTUAL_ENV with nodeenv."
if [ -d "${VIRTUAL_ENV}/lib/node_modules" ]; then
echo "Removing old ${VIRTUAL_ENV}/lib/node_modules directory."
Expand Down

0 comments on commit 8d26b5c

Please sign in to comment.