Fix mistaken git installation error check
This commit is contained in:
parent
e07a26d81c
commit
37abb3ec96
1 changed files with 1 additions and 1 deletions
|
|
@ -52,7 +52,7 @@ func (flow *GitCredentialFlow) Prompt(hostname string) error {
|
|||
// * https://git-scm.com/docs/git-config#_description
|
||||
// * https://github.com/cli/cli/pull/4109
|
||||
var errNotInstalled *git.NotInstalled
|
||||
if errors.As(err, &errNotInstalled) {
|
||||
if errors.As(configuredHelperErr, &errNotInstalled) {
|
||||
return configuredHelperErr
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue