mirror of
https://github.com/all-contributors/cli.git
synced 2025-01-10 05:56:29 +00:00
feat: add clarity to CLI prompt for where repository is hosted (#103)
Users, including myself, have put the wrong link in answer to "Where is the repository hosted?"
This commit is contained in:
parent
62f671dcd0
commit
d2ce3bea26
1 changed files with 1 additions and 1 deletions
|
@ -32,7 +32,7 @@ const questions = [
|
||||||
{
|
{
|
||||||
type: 'input',
|
type: 'input',
|
||||||
name: 'repoHost',
|
name: 'repoHost',
|
||||||
message: 'Where is the repository hosted?',
|
message: 'Where is the repository hosted? Hit Enter if it\'s on GitHub or GitLab',
|
||||||
default: function(answers) {
|
default: function(answers) {
|
||||||
if (answers.repoType === 'github') {
|
if (answers.repoType === 'github') {
|
||||||
return 'https://github.com'
|
return 'https://github.com'
|
||||||
|
|
Loading…
Reference in a new issue