(body: unknown)
| 74 | } |
| 75 | |
| 76 | function envelopeOf<T>(body: unknown): { |
| 77 | code: number; |
| 78 | msg: string; |
| 79 | data: T | null; |
| 80 | request_id: string; |
| 81 | details?: unknown; |
| 82 | } { |
| 83 | return body as { |
| 84 | code: number; |
| 85 | msg: string; |
| 86 | data: T | null; |
| 87 | request_id: string; |
| 88 | details?: unknown; |
| 89 | }; |
| 90 | } |
| 91 | |
| 92 | async function createSession(r: RunningServer, cwd: string): Promise<string> { |
| 93 | mkdirSync(cwd, { recursive: true }); |
no outgoing calls
no test coverage detected