Removed at least 1 auth must be selected constraint

This commit is contained in:
Sahat Yalkabov
2014-04-15 12:29:09 -04:00
parent 54c2f53408
commit 2d3f3e1af9

View File

@ -112,11 +112,7 @@ inquirer.prompt({
{ name: 'LinkedIn', checked: true },
{ name: 'Instagram' },
new inquirer.Separator('Press ctrl+c to cancel'.warn)
],
validate: function(answer) {
if (answer.length < 1) return 'You must choose at least one authentication provider.';
return true;
}
]
}, function(answer) {
var index;