Skip to content

Commit

Permalink
Minor refactor
Browse files Browse the repository at this point in the history
prettify

Co-Authored-By: João Moreno <mail@joaomoreno.com>
  • Loading branch information
jamesgeorge007 and joaomoreno authored Jun 4, 2019
1 parent 1b84e23 commit d7fee90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ function main(task: Promise<any>): void {
}

function suggestCommands(cmd: string): void {
const availableCommands = program.commands.map(cmd => {
const availableCommands = program.commands.map(c => c._name);
return cmd._name;
});

Expand Down

0 comments on commit d7fee90

Please sign in to comment.