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

Function flushPendingError

src/utils/xcodebuild-event-parser.ts:292–306  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

290 }
291
292 function flushPendingError(): void {
293 if (!pendingError) {
294 return;
295 }
296 onEvent({
297 kind,
298 fragment: 'compiler-diagnostic',
299 operation,
300 severity: 'error',
301 message: pendingError.message,
302 location: pendingError.location,
303 rawLine: pendingError.rawLines.join('\n'),
304 });
305 pendingError = null;
306 }
307
308 function processLine(rawLine: string): void {
309 const line = normalizeEventLine(rawLine);

Callers 2

processLineFunction · 0.85
flushFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected