提交 0484ef3d 编写于 作者: J Jared Parsons

Fix an errant return

上级 b0b34221
......@@ -166,7 +166,7 @@ function Ensure-SdkInPath() {
$destFile = Join-Path $toolsDir "dotnet-install.ps1"
$webClient = New-Object -TypeName "System.Net.WebClient"
$webClient.DownloadFile("https://dot.net/v1/dotnet-install.ps1", $destFile)
Exec-Block { & $destFile -Version $sdkVersion -InstallDir $cliDir }
Exec-Block { & $destFile -Version $sdkVersion -InstallDir $cliDir } | Out-Null
}
${env:PATH} = "$cliDir;${env:PATH}"
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册