fix: resolve mac build errors

This commit is contained in:
Peter Steinberger
2026-01-18 08:00:49 +00:00
parent fa897e5dfe
commit 359d2af8a8
3 changed files with 6 additions and 3 deletions

View File

@@ -616,7 +616,10 @@ actor MacNodeRuntime {
cwd: params.cwd,
env: env,
timeout: timeoutSec)
let combined = [result.stdout, result.stderr, result.errorMessage].filter { !$0.isEmpty }.joined(separator: "\n")
let combined = [result.stdout, result.stderr, result.errorMessage]
.compactMap { $0 }
.filter { !$0.isEmpty }
.joined(separator: "\n")
await self.emitExecEvent(
"exec.finished",
payload: ExecEventPayload(