1
0
Fork 0
refactor/models
Bsian 2019-10-31 23:38:42 +00:00
parent 38eb31dce9
commit bacfef6770
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
1 changed files with 3 additions and 0 deletions

View File

@ -68,8 +68,11 @@ export default class Util {
for (const subCmd of resolvedCommand.subcommands.toArray()) { for (const subCmd of resolvedCommand.subcommands.toArray()) {
if (subCmd.aliases.includes(args[0])) { if (subCmd.aliases.includes(args[0])) {
resolvedCommand = subCmd; args.shift(); break; resolvedCommand = subCmd; args.shift(); break;
} else {
hasSubCommands = false; break;
} }
} }
break;
} }
} }