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

Function normalizeConfigForPersistence

src/utils/project-config.ts:250–259  ·  view source on GitHub ↗
(config: RuntimeConfigFile)

Source from the content-addressed store, hash-verified

248}
249
250function normalizeConfigForPersistence(config: RuntimeConfigFile): ProjectConfig {
251 let base = normalizeDebuggerBackend(config);
252 if (config.enabledWorkflows !== undefined) {
253 base = { ...base, enabledWorkflows: normalizeEnabledWorkflows(config.enabledWorkflows) };
254 }
255 if (config.customWorkflows !== undefined) {
256 base = { ...base, customWorkflows: normalizeCustomWorkflows(config.customWorkflows) };
257 }
258 return base;
259}
260
261function toProjectConfig(config: RuntimeConfigFile): ProjectConfig {
262 return config as ProjectConfig;

Callers 1

Calls 3

normalizeDebuggerBackendFunction · 0.85
normalizeCustomWorkflowsFunction · 0.85

Tested by

no test coverage detected