(env: Record<string, string | undefined>)
| 674 | }; |
| 675 | } |
| 676 | |
| 677 | function parseRestoreScriptOutput(stdout: string | undefined): { |
| 678 | code?: number; |
| 679 | step?: string; |
| 680 | error?: string; |
| 681 | } | null { |
| 682 | try { |
| 683 | const parsed = JSON.parse(stdout?.trim() ?? '{}') as Record<string, unknown>; |
no test coverage detected