We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 05401c1 commit 9afb19dCopy full SHA for 9afb19d
shared-scripts.sh
@@ -552,8 +552,8 @@ function _setupNodeVersionWindows {
552
# Install Node.js using Chocolatey
553
choco install -fy nodejs-lts --version=$version
554
555
- # Refresh environment variables (in PowerShell)
556
- $env:Path = [System.Environment]::GetEnvironmentVariable("Path", [System.EnvironmentVariableTarget]::Process)
+ # Refresh environment variables
+ export PATH=$PATH
557
558
# Verify the Node.js version in use
559
nodeVersion=$(node -v)
0 commit comments