diff --git a/local-cli/link/pollParams.js b/local-cli/link/pollParams.js index 655401479..47b003b31 100644 --- a/local-cli/link/pollParams.js +++ b/local-cli/link/pollParams.js @@ -5,5 +5,5 @@ module.exports = (questions) => new Promise((resolve, reject) => { return resolve({}); } - inquirer.prompt(questions, resolve); + inquirer.prompt(questions).then(resolve, reject); });