Skip to content

Commit

Permalink
Corrige la façon de récupérer la version de nvm (#6688)
Browse files Browse the repository at this point in the history
Avec le commentaire dans le fichier .nvmrc, le script d'installation
affichait :
```
% ./scripts/install_zds.sh +node
* [+node] installing nvm (v0.39.5) & node (v18
# needs to be also updated in .github/workflows/ci.yml) & yarn
```
au lieu de juste la ligne * [+node] ...
  • Loading branch information
philippemilink authored Dec 25, 2024
1 parent b39c7fc commit 4d9a460
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/define_variable.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down

0 comments on commit 4d9a460

Please sign in to comment.