(output: Record<string, unknown>, scriptPath: string)
| 208 | } |
| 209 | |
| 210 | function validateOutputKeys(output: Record<string, unknown>, scriptPath: string): void { |
| 211 | for (const key of Object.keys(output)) { |
| 212 | if (!key.includes('.')) continue; |
| 213 | throw new AppError('INVALID_ARGS', `Maestro runScript output key cannot contain ".": ${key}`, { |
| 214 | scriptPath, |
| 215 | key, |
| 216 | }); |
| 217 | } |
| 218 | } |
| 219 | |
| 220 | function stringifyOutputValue(value: unknown): string { |
| 221 | if (typeof value === 'string') return value; |
no outgoing calls
no test coverage detected
searching dependent graphs…