Remove some

This commit is contained in:
Daniel Odendahl Jr
2017-06-17 03:37:16 +00:00
parent 56ceba6436
commit 202a78be0c
4 changed files with 6 additions and 6 deletions
+2 -2
View File
@@ -14,12 +14,12 @@ module.exports = class LockdownCommand extends Command {
args: [
{
key: 'type',
prompt: 'Please enter either `start` or `stop`.',
prompt: 'Please enter either start or stop.',
type: 'string',
default: 'start',
validate: (type) => {
if (['start', 'stop'].includes(type.toLowerCase())) return true;
else return 'Please enter either `start` or `stop`.';
else return 'Please enter either start or stop.';
},
parse: (type) => type.toLowerCase()
}