(socket: Duplex | null)
| 14 | const SUBPROCESS_TIMEOUT_MS = 120_000; |
| 15 | |
| 16 | function destroySocket(socket: Duplex | null): void { |
| 17 | socket?.destroy(); |
| 18 | } |
| 19 | |
| 20 | function readJson(stdout: string): any { |
| 21 | return JSON.parse(stdout); |
no outgoing calls
no test coverage detected