(rawText: string)
| 263 | } |
| 264 | |
| 265 | function 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 | |
| 273 | async function readBaseConfigForPersistence( |
| 274 | options: PersistenceTargetOptions, |
no test coverage detected