fix: harden Windows Parallels smoke

This commit is contained in:
Peter Steinberger
2026-04-26 16:12:41 +01:00
parent 79ad635515
commit a87edd732d
3 changed files with 232 additions and 9 deletions

View File

@@ -288,10 +288,10 @@ function Install-OpenClawNpm {
"--no-audit"
)
if ($installResult.Stdout) {
Microsoft.PowerShell.Utility\Write-Output $installResult.Stdout
Microsoft.PowerShell.Utility\Write-Host $installResult.Stdout
}
if ($installResult.Stderr) {
Microsoft.PowerShell.Utility\Write-Output $installResult.Stderr
Microsoft.PowerShell.Utility\Write-Host $installResult.Stderr
}
if ($installResult.ExitCode -ne 0) {
Write-Host "npm install failed with exit code $($installResult.ExitCode)" -Level error