Skip to content

Commit 1811867

Browse files
committed
add refreshenv
1 parent 13590dd commit 1811867

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

shared-scripts.sh

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -549,6 +549,9 @@ function _setupNodeVersionWindows {
549549
# Install Node.js using Chocolatey
550550
choco install -fy nodejs-lts --version=$version
551551

552+
# Refresh environment variables
553+
refreshenv
554+
552555
# Verify the Node.js version in use
553556
nodeVersion=$(node -v)
554557
echo "Node version: $nodeVersion"

0 commit comments

Comments
 (0)