mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-10 05:56:29 +00:00
fix: username might be a number (#203)
This commit is contained in:
parent
1dccd9fe64
commit
a91145f0f3
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ function startGeneration(argv) {
|
||||||
}
|
}
|
||||||
|
|
||||||
function addContribution(argv) {
|
function addContribution(argv) {
|
||||||
const username = argv._[1]
|
const username = String(argv._[1])
|
||||||
const contributions = argv._[2]
|
const contributions = argv._[2]
|
||||||
// Add or update contributor in the config file
|
// Add or update contributor in the config file
|
||||||
return updateContributors(argv, username, contributions).then(data => {
|
return updateContributors(argv, username, contributions).then(data => {
|
||||||
|
|
Loading…
Reference in a new issue