(query: string)
| 9 | const execAsync = promisify(exec); |
| 10 | |
| 11 | function question(query: string): Promise<string> { |
| 12 | const rl = readline.createInterface({ |
| 13 | input: process.stdin, |
| 14 | output: process.stdout, |
| 15 | }); |
| 16 | |
| 17 | return new Promise((resolve) => |
| 18 | rl.question(query, (ans) => { |
| 19 | rl.close(); |
| 20 | resolve(ans); |
| 21 | }) |
| 22 | ); |
| 23 | } |
| 24 | |
| 25 | async function checkStripeCLI() { |
| 26 | console.log( |
no outgoing calls
no test coverage detected