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

Function normalizeDiagnosticMessage

src/utils/diagnostics.ts:14–16  ·  view source on GitHub ↗
(message: string)

Source from the content-addressed store, hash-verified

12}
13
14function normalizeDiagnosticMessage(message: string): string {
15 return message.replace(/^\s*(?:error|warning):\s*/iu, '');
16}
17
18function normalizeDiagnosticEntries(inputs: readonly DiagnosticInput[] = []): DiagnosticEntry[] {
19 return inputs.flatMap((input) => {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected