(env: Readonly<Record<string, string>> | undefined)
| 45 | |
| 46 | /** Render the stored env map back into the KEY=value block. */ |
| 47 | export function formatStdioEnv(env: Readonly<Record<string, string>> | undefined): string { |
| 48 | return Object.entries(env ?? {}) |
| 49 | .map(([key, value]) => `${key}=${value}`) |
| 50 | .join("\n"); |
| 51 | } |
no outgoing calls
no test coverage detected