mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-05 08:12:04 +02:00
This doesn't work
This commit is contained in:
@@ -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')}.`;
|
||||
|
||||
Reference in New Issue
Block a user