mirror of
https://github.com/arthur-pbty/xiao.git
synced 2026-06-20 05:51:35 +02:00
Lockdown Defaults to Start
This commit is contained in:
@@ -18,7 +18,8 @@ module.exports = class LockdownCommand extends Command {
|
|||||||
if (['start', 'stop'].includes(type.toLowerCase())) return true;
|
if (['start', 'stop'].includes(type.toLowerCase())) return true;
|
||||||
return 'Please enter either `start` or `stop`.';
|
return 'Please enter either `start` or `stop`.';
|
||||||
},
|
},
|
||||||
parse: type => type.toLowerCase()
|
parse: type => type.toLowerCase(),
|
||||||
|
default: 'start'
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user