Add Contributor validation against JSON schema

based on the Contribution validation.
This commit is contained in:
2019-04-20 01:10:46 +02:00
parent 80dc787971
commit e591742e40
3 changed files with 65 additions and 41 deletions

View File

@@ -26,7 +26,7 @@ module.exports = async function(callback) {
kind: await prompt('Kind (default person): ', {default: 'person'}),
url: await prompt('URL: '),
github_username: await prompt('GitHub username: '),
github_uid: await prompt('GitHub UID: '),
github_uid: parseInt(await prompt('GitHub UID: ')),
wiki_username: await prompt('Wiki username: '),
};