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

Function getRuntimeInstanceIfConfigured

src/utils/runtime-instance.ts:39–47  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

37}
38
39export function getRuntimeInstanceIfConfigured(): RuntimeInstance | null {
40 if (runtimeInstance) {
41 return runtimeInstance;
42 }
43 if (!configuredWorkspaceKey) {
44 return null;
45 }
46 return getRuntimeInstance();
47}
48
49export function setRuntimeInstanceForTests(
50 instance:

Calls 1

getRuntimeInstanceFunction · 0.85

Tested by

no test coverage detected