Skip to content

Commit a91145f

Browse files
simon300000Berkmann18
authored andcommitted
fix: username might be a number (#203)
1 parent 1dccd9f commit a91145f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/cli.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ function startGeneration(argv) {
7272
}
7373

7474
function addContribution(argv) {
75-
const username = argv._[1]
75+
const username = String(argv._[1])
7676
const contributions = argv._[2]
7777
// Add or update contributor in the config file
7878
return updateContributors(argv, username, contributions).then(data => {

0 commit comments

Comments
 (0)