New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Callback method does not work after 0.12.0 #452

shesmu opened this Issue Nov 14, 2016 · 1 comment


None yet
2 participants
Copy link

shesmu commented Nov 14, 2016

Not sure if this was intentional but
inquirer.prompt([ { type : "list", name : "foo", message : "Result", choices : choices, } ], function(answer) { console.log(answer); });
no longer works post 0.12.0, the callback function is never called.


This comment has been minimized.

Copy link

SBoudrias commented Nov 14, 2016

This is intentional. It now returns a promise.

@SBoudrias SBoudrias closed this Nov 14, 2016

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment