(result: unknown)
| 59 | } |
| 60 | |
| 61 | function handleCancel(result: unknown): void { |
| 62 | if (clack.isCancel(result)) { |
| 63 | clack.cancel('Setup cancelled.'); |
| 64 | throw new Error('Setup cancelled.'); |
| 65 | } |
| 66 | } |
| 67 | |
| 68 | function createTtyPrompter(): Prompter { |
| 69 | return { |
no outgoing calls
no test coverage detected