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

Function buildDaemonEnvOverrides

src/runtime/tool-invoker.ts:266–271  ·  view source on GitHub ↗
(opts: InvokeOptions)

Source from the content-addressed store, hash-verified

264}
265
266function buildDaemonEnvOverrides(opts: InvokeOptions): Record<string, string> | undefined {
267 if (!opts.logLevel) {
268 return undefined;
269 }
270 return { XCODEBUILDMCP_DAEMON_LOG_LEVEL: opts.logLevel };
271}
272
273function getErrorKind(error: unknown): string {
274 return error instanceof Error ? error.name || 'Error' : typeof error;

Callers 1

invokeViaDaemonMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected