Skip to content

Commit

Permalink
Missing double-escaped quotes for installPath
Browse files Browse the repository at this point in the history
  • Loading branch information
demianmnave committed Nov 19, 2024
1 parent d30c74f commit fad880c
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions .github/workflows/ninja-msvc17.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,8 @@ jobs:
$vsinstaller = 'C:\Program Files (x86)\Microsoft Visual Studio\Installer\vs_installer.exe'
Test-Path -Path $vsinstaller | Should -Be $true
Start-Process -NoNewWindow -Wait -FilePath $vsinstaller `
-RedirectStandardOutput stdout.txt `
-RedirectStandardError stderr.txt `
-ArgumentList `
'modify', '--installPath', "$vspath", '--quiet', '--norestart', '--nocache', '--noUpdateInstaller', `
Start-Process -NoNewWindow -Wait -FilePath $vsinstaller -ArgumentList `
'modify', '--installPath', "`"$vspath`"", '--quiet', '--norestart', '--nocache', '--noUpdateInstaller', `
'--add', 'Microsoft.VisualStudio.Component.VC.14.40.17.10.x86.x64'
Get-ChildItem $env:LOCALAPPDATA\Temp\dd_installer_* | Get-Content
Expand Down

0 comments on commit fad880c

Please sign in to comment.