Remove unneeded verbose message in build (#17840)

This commit is contained in:
Dongbo Wang
2022-08-03 21:35:18 -07:00
committed by GitHub
parent c2323db4a0
commit 471d9cda41
+1 -4
View File
@@ -862,10 +862,7 @@ function New-PSOptions {
Write-Verbose "Using framework '$Framework'"
if (-not $Runtime) {
$Info = dotnet --info
Write-Verbose "dotnet --info:`n${Info}"
$Platform, $Architecture = $info |
$Platform, $Architecture = dotnet --info |
Select-String '^\s*OS Platform:\s+(\w+)$', '^\s*Architecture:\s+(\w+)$' |
Select-Object -First 2 |
ForEach-Object { $_.Matches.Groups[1].Value }