Change visibility strings to Sentence case
This commit is contained in:
parent
130c5262b2
commit
00b2777a14
1 changed files with 2 additions and 2 deletions
|
|
@ -346,7 +346,7 @@ func getVisibility() (string, error) {
|
|||
Name: "repoVisibility",
|
||||
Prompt: &survey.Select{
|
||||
Message: "Visibility",
|
||||
Options: []string{"PUBLIC", "PRIVATE", "INTERNAL"},
|
||||
Options: []string{"Public", "Private", "Internal"},
|
||||
},
|
||||
}
|
||||
qs = append(qs, getVisibilityQuestion)
|
||||
|
|
@ -360,5 +360,5 @@ func getVisibility() (string, error) {
|
|||
return "", err
|
||||
}
|
||||
|
||||
return answer.RepoVisibility, nil
|
||||
return strings.ToUpper(answer.RepoVisibility), nil
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue