CTA for ghes remote auth case

This commit is contained in:
vilmibm 2020-08-18 15:11:46 -05:00
parent 850a7ef243
commit ff9ecd2944

View file

@ -72,7 +72,7 @@ func (rr *remoteResolver) Resolver() func() (context.Remotes, error) {
}
if len(cachedRemotes) == 0 {
remotesError = errors.New("none of the git remotes point to a known GitHub host")
remotesError = errors.New("none of the git remotes configured for this repository point to a known GitHub host. To tell gh about a new GitHub host, please use `gh auth login`")
return nil, remotesError
}
return cachedRemotes, nil