diff --git a/scripts/define_variable.sh b/scripts/define_variable.sh index 9cb082e31a..a3c2e2d291 100644 --- a/scripts/define_variable.sh +++ b/scripts/define_variable.sh @@ -12,7 +12,7 @@ if [[ $ZDS_PIP_VERSION == "" ]]; then ZDS_PIP_VERSION="24.3.1" # needs to be also updated in .github/workflows/ci.yml fi -ZDS_NODE_VERSION=$(cat $ZDSSITE_DIR/.nvmrc) +ZDS_NODE_VERSION=$(head -n 1 $ZDSSITE_DIR/.nvmrc) if [[ $ZDS_NVM_VERSION == "" ]]; then ZDS_NVM_VERSION="0.39.5"