diff --git a/src/main.ts b/src/main.ts index dfbe669f..d6fa7a5c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -54,7 +54,7 @@ function main(task: Promise): void { } function suggestCommands(cmd: string): void { - const availableCommands = program.commands.map(cmd => { + const availableCommands = program.commands.map(c => c._name); return cmd._name; });