Skip to content

Commit b461bde

Browse files
axemcliongrabbou
authored andcommitted
Updating the usage of inquirer API
Summary: Inquirer was changed to a later version in facebook@bada25d. However, the API also needed to be updated to use a promise based version. Closes facebook#14848 Differential Revision: D5375663 Pulled By: javache fbshipit-source-id: 635798a43905301c65db5f63b9cfba1c16964870
1 parent 4223f11 commit b461bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

local-cli/link/pollParams.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ module.exports = (questions) => new Promise((resolve, reject) => {
55
return resolve({});
66
}
77

8-
inquirer.prompt(questions, resolve);
8+
inquirer.prompt(questions).then(resolve, reject);
99
});

0 commit comments

Comments
 (0)