Updating the usage of inquirer API
Updating the usage of inquirer API

Summary:
Inquirer was changed to a later version in https://github.com/facebook/react-native/commit/bada25d158e070fd683a10b8ff9cdcb8d2498b14. However, the API also needed to be updated to use a promise based version.
Closes https://github.com/facebook/react-native/pull/14848

Differential Revision: D5375663

Pulled By: javache

fbshipit-source-id: 635798a43905301c65db5f63b9cfba1c16964870

rickbeerendonk/react-native,Bhullnatik/react-native,facebook/react-native,Bhullnatik/react-native,exponent/react-native,hoastoolshop/react-native,exponent/react-native,arthuralee/react-native,thotegowda/react-native,hammerandchisel/react-native,farazs/react-native,doochik/react-native,rickbeerendonk/react-native,negativetwelve/react-native,makadaw/react-native,kesha-antonov/react-native,exponentjs/react-native,exponentjs/react-native,jevakallio/react-native,brentvatne/react-native,facebook/react-native,dikaiosune/react-native,hoastoolshop/react-native,farazs/react-native,hoastoolshop/react-native,hoangpham95/react-native,doochik/react-native,javache/react-native,myntra/react-native,facebook/react-native,kesha-antonov/react-native,pandiaraj44/react-native,negativetwelve/react-native,kesha-antonov/react-native,exponentjs/react-native,formatlos/react-native,negativetwelve/react-native,Bhullnatik/react-native,formatlos/react-native,negativetwelve/react-native,myntra/react-native,farazs/react-native,brentvatne/react-native,kesha-antonov/react-native,pandiaraj44/react-native,arthuralee/react-native,rickbeerendonk/react-native,cdlewis/react-native,frantic/react-native,makadaw/react-native,formatlos/react-native,ptmt/react-native-macos,pandiaraj44/react-native,thotegowda/react-native,ptmt/react-native-macos,makadaw/react-native,javache/react-native,rickbeerendonk/react-native,cdlewis/react-native,Bhullnatik/react-native,hammerandchisel/react-native,dikaiosune/react-native,brentvatne/react-native,exponent/react-native,Bhullnatik/react-native,ptmt/react-native-macos,makadaw/react-native,myntra/react-native,ptmt/react-native-macos,jevakallio/react-native,farazs/react-native,javache/react-native,ptmt/react-native-macos,cdlewis/react-native,myntra/react-native,janicduplessis/react-native,exponentjs/react-native,arthuralee/react-native,janicduplessis/react-native,hoastoolshop/react-native,facebook/react-native,thotegowda/react-native,javache/react-native,thotegowda/react-native,Bhullnatik/react-native,cdlewis/react-native,cdlewis/react-native,doochik/react-native,myntra/react-native,hammerandchisel/react-native,negativetwelve/react-native,facebook/react-native,cdlewis/react-native,brentvatne/react-native,janicduplessis/react-native,hammerandchisel/react-native,cdlewis/react-native,pandiaraj44/react-native,ptmt/react-native-macos,hoangpham95/react-native,brentvatne/react-native,jevakallio/react-native,arthuralee/react-native,exponent/react-native,janicduplessis/react-native,hammerandchisel/react-native,rickbeerendonk/react-native,exponentjs/react-native,exponentjs/react-native,farazs/react-native,doochik/react-native,brentvatne/react-native,formatlos/react-native,hoangpham95/react-native,rickbeerendonk/react-native,frantic/react-native,formatlos/react-native,thotegowda/react-native,javache/react-native,exponent/react-native,javache/react-native,jevakallio/react-native,myntra/react-native,facebook/react-native,Bhullnatik/react-native,doochik/react-native,janicduplessis/react-native,jevakallio/react-native,jevakallio/react-native,dikaiosune/react-native,javache/react-native,brentvatne/react-native,makadaw/react-native,exponentjs/react-native,frantic/react-native,hoastoolshop/react-native,frantic/react-native,doochik/react-native,kesha-antonov/react-native,kesha-antonov/react-native,farazs/react-native,farazs/react-native,Bhullnatik/react-native,rickbeerendonk/react-native,formatlos/react-native,hammerandchisel/react-native,farazs/react-native,myntra/react-native,jevakallio/react-native,dikaiosune/react-native,makadaw/react-native,hoangpham95/react-native,brentvatne/react-native,janicduplessis/react-native,negativetwelve/react-native,dikaiosune/react-native,makadaw/react-native,javache/react-native,hoangpham95/react-native,javache/react-native,makadaw/react-native,formatlos/react-native,hoangpham95/react-native,doochik/react-native,pandiaraj44/react-native,pandiaraj44/react-native,myntra/react-native,hammerandchisel/react-native,facebook/react-native,kesha-antonov/react-native,jevakallio/react-native,dikaiosune/react-native,frantic/react-native,negativetwelve/react-native,kesha-antonov/react-native,ptmt/react-native-macos,farazs/react-native,arthuralee/react-native,hoastoolshop/react-native,exponent/react-native,cdlewis/react-native,janicduplessis/react-native,cdlewis/react-native,facebook/react-native,brentvatne/react-native,negativetwelve/react-native,thotegowda/react-native,dikaiosune/react-native,pandiaraj44/react-native,thotegowda/react-native,makadaw/react-native,ptmt/react-native-macos,doochik/react-native,thotegowda/react-native,pandiaraj44/react-native,exponentjs/react-native,exponent/react-native,formatlos/react-native,myntra/react-native,rickbeerendonk/react-native,hoastoolshop/react-native,rickbeerendonk/react-native,dikaiosune/react-native,doochik/react-native,hoangpham95/react-native,exponent/react-native,janicduplessis/react-native,formatlos/react-native,facebook/react-native,hammerandchisel/react-native,kesha-antonov/react-native,hoastoolshop/react-native,hoangpham95/react-native,negativetwelve/react-native,jevakallio/react-native