(structured: unknown)
| 213 | }; |
| 214 | |
| 215 | export const extractExecutionId = (structured: unknown): string | undefined => { |
| 216 | if (!isRecord(structured) || typeof structured.executionId !== "string") { |
| 217 | return undefined; |
| 218 | } |
| 219 | return structured.executionId; |
| 220 | }; |
| 221 | |
| 222 | export const normalizeCliErrorText = (raw: string): string => { |
| 223 | const lines = raw.split(/\r?\n/); |
no test coverage detected