Skip to content

Commit

Permalink
Remove duplication
Browse files Browse the repository at this point in the history
  • Loading branch information
Julien Lengrand-Lambert authored and Julien Lengrand-Lambert committed May 1, 2018
1 parent 64da3d0 commit 44f309e
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,14 +71,6 @@ const run = async() => {
.action((...args) => fn(config, ...args));
});

commands.forEach(({ trigger, description, fn }) => {
program
.command(trigger)
.description(description)
.action((...args) => fn(config, ...args));

});

return program;
};

Expand Down

0 comments on commit 44f309e

Please sign in to comment.