File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -58,10 +58,10 @@ Invoke-WebRequest -uri "https://github.com$($fileUri)" -OutFile (Join-Path $Work
5858$wpVer = $fileUri -replace " .*-((\d+\.)?(\d+\.)?(\d+\.)?(\*|\d+)).*\.exe" , ' $1'
5959
6060Write-Verbose ' Downloading Node.js...'
61- $releaseURI = ' https://nodejs.org/download/release/latest-v21 .x'
61+ $releaseURI = ' https://nodejs.org/download/release/latest-v22 .x'
6262$links = (Invoke-WebRequest - uri $releaseURI - UseBasicParsing).Links.href
6363$pattern = " win-x$osBits .*\.zip"
64- $fileUri = " $releaseURI / " + ($links | Select-String - Pattern $pattern | Get-Unique ).Tostring().Trim()
64+ $fileUri = ' https://nodejs.org ' + ($links | Select-String - Pattern $pattern | Get-Unique ).Tostring().Trim()
6565Invoke-WebRequest - Uri $fileUri - OutFile (Join-Path $WorkingFolder ' \node.zip' )
6666
6767if ($InstallPortableGit ) {
You can’t perform that action at this time.
0 commit comments