Skip to content

Commit

Permalink
fix: remove unnecessary return statements
Browse files Browse the repository at this point in the history
  • Loading branch information
adrians5j committed Jun 9, 2020
1 parent b15d8ce commit a7be584
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/bin/contreebutors.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ yargs.command({
},
handler: createHandler(async function(argv: { username: string }) {
const contreebutors = new Contreebutors();
return await contreebutors.add(argv);
return contreebutors.add(argv);
})
});

Expand All @@ -36,7 +36,7 @@ yargs.command({
describe: "Renders the contributors list in specified file (README.md by default).",
handler: createHandler(async function() {
const contreebutors = new Contreebutors();
return await contreebutors.render();
return contreebutors.render();
})
});

Expand Down

0 comments on commit a7be584

Please sign in to comment.