Skip to content
This repository was archived by the owner on Apr 20, 2023. It is now read-only.

Commit 02b1cc6

Browse files
author
John Beisner
committed
'channel' parameter is superfluous if also using a 'version' parameter.
1 parent e69159a commit 02b1cc6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

run-build.ps1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -68,8 +68,8 @@ $env:VSTEST_TRACE_BUILD=1
6868
# install a stage0
6969
$dotnetInstallPath = Join-Path $RepoRoot "scripts\obtain\dotnet-install.ps1"
7070

71-
Write-Output "$dotnetInstallPath -Channel ""master"" -version ""2.1.0-preview1-007172"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"""
72-
Invoke-Expression "$dotnetInstallPath -Channel ""master"" -version ""2.1.0-preview1-007172"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"""
71+
Write-Output "$dotnetInstallPath -version ""2.1.0-preview1-007172"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"""
72+
Invoke-Expression "$dotnetInstallPath -version ""2.1.0-preview1-007172"" -InstallDir $env:DOTNET_INSTALL_DIR -Architecture ""$Architecture"""
7373
if ($LastExitCode -ne 0)
7474
{
7575
Write-Output "The .NET CLI installation failed with exit code $LastExitCode"

0 commit comments

Comments
 (0)