Browse Source

Fix node version string when running asdf install nodejs (#2524)

Chris Estreich 10 months ago
parent
commit
2c8304ea31
1 changed files with 2 additions and 2 deletions
  1. 2 2
      evals/scripts/setup.sh

+ 2 - 2
evals/scripts/setup.sh

@@ -179,8 +179,8 @@ for i in "${!options[@]}"; do
   case "${plugin}" in
   case "${plugin}" in
   "nodejs")
   "nodejs")
     if ! command -v node &>/dev/null; then
     if ! command -v node &>/dev/null; then
-      asdf install nodejs v20.18.1 || exit 1
-      asdf set nodejs v20.18.1 || exit 1
+      asdf install nodejs 20.18.1 || exit 1
+      asdf set nodejs 20.18.1 || exit 1
       NODE_VERSION=$(node --version)
       NODE_VERSION=$(node --version)
       echo "✅ Node.js is installed ($NODE_VERSION)"
       echo "✅ Node.js is installed ($NODE_VERSION)"
     else
     else