We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 215f496 + 0e99109 commit c59c0d6Copy full SHA for c59c0d6
Library/Homebrew/utils/github.rb
@@ -87,8 +87,8 @@ def api_credentials_from_keychain
87
def api_credentials_type
88
token, username = api_credentials
89
return :none if !token || token.empty?
90
- return :keychain if !username || username.empty?
91
- :environment
+ return :environment if !username || username.empty?
+ :keychain
92
end
93
94
def api_credentials_error_message(response_headers, needed_scopes)
0 commit comments