зеркало из https://github.com/mislav/hub.git
Check the available hosts and credentials before asking for them for the default host.
This commit is contained in:
Родитель
95eed0ed0c
Коммит
085a2bec83
|
@ -54,7 +54,7 @@ func transformCloneArgs(args *Args) {
|
|||
var credentials *github.Credentials
|
||||
if owner == "" {
|
||||
configs := github.CurrentConfigs()
|
||||
credentials = configs.PromptFor(github.DefaultHost())
|
||||
credentials = configs.DefaultCredentials()
|
||||
owner = credentials.User
|
||||
}
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче