fix: tag command

when there is no subcommand line 42 generates an error
This commit is contained in:
Isaac 2021-09-25 18:39:14 +01:00
parent a90f4eba2d
commit 1da289185b
No known key found for this signature in database
GPG Key ID: 87B9B6BD04EB7534

View File

@ -23,7 +23,7 @@ module.exports = class TagCommand extends Command {
required: true, required: true,
type: Command.option_types.STRING type: Command.option_types.STRING
})), })),
required: false, required: true,
type: Command.option_types.SUB_COMMAND type: Command.option_types.SUB_COMMAND
})); }));
}, },