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

Function normalizeBaseString

src/snapshot-tests/json-normalize.ts:21–24  ·  view source on GitHub ↗
(value: string, options: NormalizeStructuredEnvelopeOptions)

Source from the content-addressed store, hash-verified

19type NormalizeStructuredEnvelopeOptions = NormalizeSnapshotOutputOptions;
20
21function normalizeBaseString(value: string, options: NormalizeStructuredEnvelopeOptions): string {
22 const normalized = normalizeSnapshotOutput(value.replace(/\u00A0/g, ' '), options);
23 return normalized.endsWith('\n') ? normalized.slice(0, -1) : normalized;
24}
25
26function isDeviceListPath(path: string[]): boolean {
27 return path.includes('data') && path.includes('devices');

Callers 2

normalizeStringFunction · 0.85

Calls 1

normalizeSnapshotOutputFunction · 0.90

Tested by

no test coverage detected