diff --git a/src/commands/commands.ts b/src/commands/commands.ts index b48f4dc8..395c46b9 100644 --- a/src/commands/commands.ts +++ b/src/commands/commands.ts @@ -57,7 +57,7 @@ export default class Commands extends Command { // If Command classes have circular references, don't break the commands command. return this.removeCycles(obj) })) - return formatted + return _.uniqBy(formatted, 'id') } if (flags.tree) {