Replace "GitHub Enterprise Server" with "other" in gh auth login prompt

This change is meant to better support the login flow for other customers
besides GitHub Enterprise Server customers that use the same login flow
as GHES.
This commit is contained in:
Tyler McGoffin 2024-09-19 14:52:16 -07:00
parent d451a4341b
commit 5dd5246307
2 changed files with 51 additions and 3 deletions

View file

@ -222,7 +222,7 @@ func loginRun(opts *LoginOptions) error {
}
func promptForHostname(opts *LoginOptions) (string, error) {
options := []string{"GitHub.com", "GitHub Enterprise Server"}
options := []string{"GitHub.com", "other"}
hostType, err := opts.Prompter.Select(
"What account do you want to log into?",
options[0],