Skip to content

Commit 471d9cd

Browse files
authored
Remove unneeded verbose message in build (PowerShell#17840)
1 parent c2323db commit 471d9cd

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

build.psm1

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -862,10 +862,7 @@ function New-PSOptions {
862862
Write-Verbose "Using framework '$Framework'"
863863

864864
if (-not $Runtime) {
865-
$Info = dotnet --info
866-
Write-Verbose "dotnet --info:`n${Info}"
867-
868-
$Platform, $Architecture = $info |
865+
$Platform, $Architecture = dotnet --info |
869866
Select-String '^\s*OS Platform:\s+(\w+)$', '^\s*Architecture:\s+(\w+)$' |
870867
Select-Object -First 2 |
871868
ForEach-Object { $_.Matches.Groups[1].Value }

0 commit comments

Comments
 (0)