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

Function formatStatusLineEvent

src/utils/renderers/event-formatting.ts:316–327  ·  view source on GitHub ↗
(event: StatusRenderItem)

Source from the content-addressed store, hash-verified

314}
315
316export function formatStatusLineEvent(event: StatusRenderItem): string {
317 switch (event.level) {
318 case 'success':
319 return `\u{2705} ${event.message}`;
320 case 'error':
321 return `\u{274C} ${event.message}`;
322 case 'warning':
323 return `\u{26A0}\u{FE0F} ${event.message}`;
324 default:
325 return `\u{2139}\u{FE0F} ${event.message}`;
326 }
327}
328
329const SECTION_ICON_MAP: Record<NonNullable<SectionRenderItem['icon']>, string> = {
330 'red-circle': '\u{1F534}',

Callers 3

processItemFunction · 0.90
renderDoctorItemsFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected