Skip to content

Commit

Permalink
Can't splat ArgumentList
Browse files Browse the repository at this point in the history
  • Loading branch information
demianmnave committed Nov 19, 2024
1 parent e2caf3c commit 1f1dd09
Showing 1 changed file with 2 additions and 8 deletions.
10 changes: 2 additions & 8 deletions .github/workflows/ninja-msvc17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,8 @@ jobs:
$vsinstaller = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe'
Test-Path -Path $vsinstaller | Should -Be $true
$mod_args = @(
'modify'
'--add'
'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64'
'--quiet'
'--wait'
)
$modify = Start-Process -FilePath $vsinstaller -ArgumentList @mod_args -Wait -PassThru
$modify = Start-Process -Wait -PassThru -FilePath $vsinstaller `
-ArgumentList 'modify', '--add', 'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64', '--quiet', '--wait'
Write-Host $modify.ExitCode
$vsbin = 'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.40.33807\bin\Hostx64\x64'
Expand Down

0 comments on commit 1f1dd09

Please sign in to comment.