fix: username might be a number (#203)

This commit is contained in:
simon3000 2019-09-16 18:33:28 +02:00 committed by Maximilian Berkmann
parent 1dccd9fe64
commit a91145f0f3

View file

@ -72,7 +72,7 @@ function startGeneration(argv) {
}
function addContribution(argv) {
const username = argv._[1]
const username = String(argv._[1])
const contributions = argv._[2]
// Add or update contributor in the config file
return updateContributors(argv, username, contributions).then(data => {