async function gatherPackagesToInstall()

in index.js [142:164]


async function gatherPackagesToInstall () {
    try {
        return await inquirer.prompt([{
            name: 'platforms',
            message: 'Select Platforms to Test:',
            type: 'checkbox',
            loop: false,
            choices: platformChoices,
            default: platformDefaultChoices
        }, {
            name: 'plugins',
            message: 'Select Plugins to Test:',
            type: 'checkbox',
            loop: false,
            choices: pluginChoices,
            default: pluginDefaultChoices
        }]);
    } catch (error) {
        if (error.name === 'ExitPromptError') {
            print.error('Cordova Mobile Spec was stopped.');
        }
    }
}