(question)
| 84 | }); |
| 85 | |
| 86 | function ask(question) { |
| 87 | return new Promise((resolve) => { |
| 88 | rl.question(question, (answer) => resolve(answer.trim())); |
| 89 | }); |
| 90 | } |
| 91 | |
| 92 | async function confirm(question) { |
| 93 | const answer = await ask(`${question} (y/n): `); |
no outgoing calls
no test coverage detected