Skip to content

Commit

Permalink
Do not capture the Start-Process return value
Browse files Browse the repository at this point in the history
  • Loading branch information
demianmnave committed Nov 19, 2024
1 parent 60bc50d commit ab3734c
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/ninja-msvc17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,9 @@ jobs:
$vsinstaller = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe'
Test-Path -Path $vsinstaller | Should -Be $true
$modify = Start-Process -Wait -FilePath $vsinstaller -ArgumentList `
Start-Process -Wait -FilePath $vsinstaller -ArgumentList `
'modify', '--installPath', "$vspath", '--quiet', '--norestart', '--nocache', `
'--add', 'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64'
Write-Host $modify.ExitCode
Get-ChildItem -Path (Join-Path $vspath 'VC\Tools\MSVC')
Expand Down

0 comments on commit ab3734c

Please sign in to comment.