forked from engineering/cloudservices
Fix leak
parent
38eb31dce9
commit
bacfef6770
|
@ -68,8 +68,11 @@ export default class Util {
|
|||
for (const subCmd of resolvedCommand.subcommands.toArray()) {
|
||||
if (subCmd.aliases.includes(args[0])) {
|
||||
resolvedCommand = subCmd; args.shift(); break;
|
||||
} else {
|
||||
hasSubCommands = false; break;
|
||||
}
|
||||
}
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue