Looking at that file:
```
var permissionTimeout;
var prompt = inquirer.prompt({
type: 'confirm',
name: 'optIn',
message: msg || defaultMsg,
default: true
}, function (result) {
// clear the permission timeout upon getting an answer
clearTimeout(permissionTimeout);
this.optOut = !result.optIn;
cb(null, result.optIn);
}.bind(this));
// add a 30 sec timeout before giving up on getting an answer
permissionTimeout = setTimeout(function () {
// stop listening for stdin
prompt.close();
```
Two things:
1. I gave answer well within 30sec timeout so why would it even call that
2. Either inquirer.prompt does not have .close() or there should be one added
to the returned object?
[ Full content available at: https://github.com/apache/cordova-cli/issues/337 ]
This message was relayed via gitbox.apache.org for [email protected]