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

Function normalizeDiagnosticKey

src/utils/xcodebuild-run-state.ts:43–45  ·  view source on GitHub ↗
(location: string | undefined, message: string)

Source from the content-addressed store, hash-verified

41}
42
43function normalizeDiagnosticKey(location: string | undefined, message: string): string {
44 return `${location ?? ''}|${message}`.trim().toLowerCase();
45}
46
47function normalizeTestIdentifier(value: string | undefined): string {
48 return (value ?? '').trim().replace(/\(\)$/u, '').toLowerCase();

Callers 1

acceptDedupedDiagnosticFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected