fixed presets not showing up in the command line

This commit is contained in:
Jack 2021-07-12 00:50:40 +01:00
parent 78d35aff26
commit 5d05b1212b

View file

@ -242,6 +242,7 @@ function addChildCommands(
commandItemDisplay =
parentCommandDisplay + " > " + icon + commandItemDisplay;
if (commandItem.subgroup) {
if (commandItem.beforeSubgroup) commandItem.beforeSubgroup();
try {
commandItem.subgroup.list.forEach((cmd) => {
commandItem.configKey = commandItem.subgroup.configKey;