utils/github/api: fix credentials_type
The order is shared with self.credentials, but during the deprecation cycle the need to adjust self.credentials_type to match was overlooked.
This commit is contained in:
parent
3b09b7e202
commit
a5554df6bb
@ -167,10 +167,10 @@ module GitHub
|
||||
def self.credentials_type
|
||||
if Homebrew::EnvConfig.github_api_token.present?
|
||||
:env_token
|
||||
elsif keychain_username_password.present?
|
||||
:keychain_username_password
|
||||
elsif github_cli_token.present?
|
||||
:github_cli_token
|
||||
elsif keychain_username_password.present?
|
||||
:keychain_username_password
|
||||
else
|
||||
:none
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user