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

Function flushStepRun

src/snapshot-tests/json-normalize.ts:390–394  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

388 let stepRun: string[] = [];
389
390 const flushStepRun = (): void => {
391 if (stepRun.length === 0) return;
392 normalized.push(...stepRun.sort((left, right) => left.localeCompare(right)));
393 stepRun = [];
394 };
395
396 for (const item of items) {
397 if (typeof item === 'string' && item.startsWith('[<STEP>] ')) {

Callers 1

normalizeStderrLinesFunction · 0.85

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected