(ctx: CliContext, paused: CliResult)
| 104 | ]); |
| 105 | |
| 106 | const approvePausedCall = async (ctx: CliContext, paused: CliResult): Promise<CliResult> => { |
| 107 | const executionId = extractExecutionId(paused.text); |
| 108 | return await runCli(ctx, [ |
| 109 | "resume", |
| 110 | "--execution-id", |
| 111 | executionId, |
| 112 | "--base-url", |
| 113 | ctx.baseUrl, |
| 114 | "--scope", |
| 115 | ctx.scopeDir, |
| 116 | ]); |
| 117 | }; |
| 118 | |
| 119 | const postJson = async (url: string, payload: unknown): Promise<unknown> => { |
| 120 | const response = await fetch(url, { |
no test coverage detected