(prompt)
| 344 | * For shame for shame, inquirer breaks node conventions, and doesn't return error first callbacks. |
| 345 | */ |
| 346 | function Prompt(prompt){ |
| 347 | return new Promise(function(resolve, reject){ |
| 348 | inquirer.prompt(prompt, function(answer){ |
| 349 | var unwrapped = answer[_.keys(answer)[0]] |
| 350 | resolve(unwrapped); |
| 351 | }) |
| 352 | }) |
| 353 | } |
| 354 | |
| 355 |
no outgoing calls
no test coverage detected