This doesn't work

This commit is contained in:
Daniel Odendahl Jr
2017-12-20 17:01:09 +00:00
parent 80a1f3a24e
commit d121a4b32e
-1
View File
@@ -14,7 +14,6 @@ module.exports = class BinaryCommand extends Command {
key: 'mode',
prompt: `Would you like to ${list(modes, 'or')}?`,
type: 'string',
format: `<${modes.join('|')}>`,
validate: mode => {
if (modes.includes(mode.toLowerCase())) return true;
return `Invalid mode, please enter either ${list(modes, 'or')}.`;