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

Function buildAppPathFailure

src/utils/app-query-results.ts:34–48  ·  view source on GitHub ↗
(
  rawMessage: string,
  request: AppPathRequest,
  target: BuildTarget,
  errorLabel: string,
)

Source from the content-addressed store, hash-verified

32}
33
34export function buildAppPathFailure(
35 rawMessage: string,
36 request: AppPathRequest,
37 target: BuildTarget,
38 errorLabel: string,
39): AppPathDomainResult {
40 return {
41 kind: 'app-path',
42 didError: true,
43 error: errorLabel,
44 request,
45 summary: { status: 'FAILED', target },
46 diagnostics: extractQueryDiagnostics(rawMessage),
47 };
48}
49
50export function getAppPathArtifact(result: AppPathDomainResult): string | null {
51 if ('artifacts' in result && result.artifacts && 'appPath' in result.artifacts) {

Calls 1

extractQueryDiagnosticsFunction · 0.90

Tested by

no test coverage detected