Skip to content

Commit

Permalink
fix(commandline): missing preset commands
Browse files Browse the repository at this point in the history
Added a missing beforeList() call to make sure presetc commands populate

Closes #4555
  • Loading branch information
Miodec committed Aug 23, 2023
1 parent 4c74d33 commit 2aa178a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions frontend/src/ts/commandline/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -340,6 +340,7 @@ function getCommands(
list: [],
},
};
command.subgroup.beforeList?.();
for (const cmd of command.subgroup.list) {
ret.push(...getCommands(cmd, currentCommand));
}
Expand Down

0 comments on commit 2aa178a

Please sign in to comment.