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

Function parseProjectConfig

src/utils/project-config.ts:265–271  ·  view source on GitHub ↗
(rawText: string)

Source from the content-addressed store, hash-verified

263}
264
265function parseProjectConfig(rawText: string): RuntimeConfigFile {
266 const parsed: unknown = parseYaml(rawText);
267 if (!isPlainObject(parsed)) {
268 throw new Error('Project config must be an object');
269 }
270 return runtimeConfigFileSchema.parse(parsed) as RuntimeConfigFile;
271}
272
273async function readBaseConfigForPersistence(
274 options: PersistenceTargetOptions,

Callers 2

loadProjectConfigFunction · 0.85

Calls 1

isPlainObjectFunction · 0.85

Tested by

no test coverage detected