Skip to content

Commit 2c8304e

Browse files
authored
Fix node version string when running asdf install nodejs (#2524)
1 parent 9117862 commit 2c8304e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

evals/scripts/setup.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -179,8 +179,8 @@ for i in "${!options[@]}"; do
179179
case "${plugin}" in
180180
"nodejs")
181181
if ! command -v node &>/dev/null; then
182-
asdf install nodejs v20.18.1 || exit 1
183-
asdf set nodejs v20.18.1 || exit 1
182+
asdf install nodejs 20.18.1 || exit 1
183+
asdf set nodejs 20.18.1 || exit 1
184184
NODE_VERSION=$(node --version)
185185
echo "✅ Node.js is installed ($NODE_VERSION)"
186186
else

0 commit comments

Comments
 (0)