Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dexpota committed Oct 17, 2019
1 parent a91145f commit 6cbec25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ function startGeneration(argv) {
}

function addContribution(argv) {
const username = String(argv._[1])
const username = argv._[1] !== undefined ? String(argv._[1]) : undefined
const contributions = argv._[2]
// Add or update contributor in the config file
return updateContributors(argv, username, contributions).then(data => {
Expand Down

0 comments on commit 6cbec25

Please sign in to comment.