Removed at least 1 auth must be selected constraint
This commit is contained in:
@ -112,11 +112,7 @@ inquirer.prompt({
|
|||||||
{ name: 'LinkedIn', checked: true },
|
{ name: 'LinkedIn', checked: true },
|
||||||
{ name: 'Instagram' },
|
{ name: 'Instagram' },
|
||||||
new inquirer.Separator('Press ctrl+c to cancel'.warn)
|
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) {
|
}, function(answer) {
|
||||||
var index;
|
var index;
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user