MCPcopy Index your code
hub / github.com/getsentry/XcodeBuildMCP / normalizeDoctorProcessTree

Function normalizeDoctorProcessTree

src/snapshot-tests/normalize.ts:133–138  ·  view source on GitHub ↗
(text: string)

Source from the content-addressed store, hash-verified

131}
132
133function normalizeDoctorProcessTree(text: string): string {
134 return text.replace(
135 /(^|\n)(Process Tree\n)(?: <PID> \(ppid <PID>\): <PROCESS>\n)+/g,
136 '$1$2 <PID> (ppid <PID>): <PROCESS>\n <PID> (ppid <PID>): <PROCESS>\n <PID> (ppid <PID>): <PROCESS>\n',
137 );
138}
139
140function trimVolatileDebugStackPrefix(text: string): string {
141 const lines = text.split('\n');

Callers 1

normalizeSnapshotOutputFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected