MCPcopy Create free account
hub / github.com/getsentry/XcodeBuildMCP / readProcessOutput

Function readProcessOutput

src/snapshot-tests/harness.ts:67–69  ·  view source on GitHub ↗
(output: string | Buffer | null | undefined)

Source from the content-addressed store, hash-verified

65}
66
67function readProcessOutput(output: string | Buffer | null | undefined): string {
68 return typeof output === 'string' ? output : (output?.toString('utf8') ?? '');
69}
70
71export function assertCliSnapshotProcessResult(
72 result: Pick<ReturnType<typeof spawnSync>, 'error' | 'signal' | 'status' | 'stderr'>,

Callers 2

invokeFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected