File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -40,16 +40,14 @@ if (!(Test-Path $DotnetInstallScriptPath)) {
4040 & " $PSScriptRoot /Invoke-WithRetry.ps1" " Invoke-WebRequest 'https://dot.net/v1/$DotnetInstallScript ' -OutFile $DotnetInstallScriptPath "
4141}
4242
43- $DotnetChannel = " Current"
44-
4543$InstallFailed = $false
4644if ($IsRunningOnUnix ) {
4745 & chmod + x $DotnetInstallScriptPath
48- & $DotnetInstallScriptPath -- channel $DotnetChannel -- version " latest" -- install-dir $InstallPath
46+ & $DotnetInstallScriptPath -- version " latest" -- install-dir $InstallPath
4947 $InstallFailed = ($LASTEXITCODE -ne 0 )
5048}
5149else {
52- & $DotnetInstallScriptPath - Channel $DotnetChannel - Version " latest" - InstallDir $InstallPath
50+ & $DotnetInstallScriptPath - Version " latest" - InstallDir $InstallPath
5351 $InstallFailed = (-not $? )
5452}
5553
You can’t perform that action at this time.
0 commit comments