mirror of
https://github.com/PowerShell/PowerShell
synced 2026-06-08 12:12:50 +00:00
Remove unneeded verbose message in build (#17840)
This commit is contained in:
+1
-4
@@ -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 }
|
||||
|
||||
Reference in New Issue
Block a user