We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2aceeb9 commit f5dd456Copy full SHA for f5dd456
scripts/build-appveyor.bat
@@ -42,6 +42,10 @@ IF /I "%platform%"=="x64" powershell Install-Product node $env:nodejs_version x6
42
IF /I "%platform%"=="x86" powershell Install-Product node $env:nodejs_version x86
43
IF %ERRORLEVEL% NEQ 0 GOTO ERROR
44
45
+SET NODE_MAJOR=%nodejs_version:~0,1%
46
+ECHO node major version^: %NODE_MAJOR%
47
+IF %NODE_MAJOR% GTR 0 ECHO node version greater than zero, not updating npm && GOTO SKIP_APPVEYOR_INSTALL
48
+
49
powershell Set-ExecutionPolicy Unrestricted -Scope CurrentUser -Force
50
51
CALL npm install --global --production npm-windows-upgrade
0 commit comments