utils/github: Say "macOS keychain" in MissingAuthenticationError

Co-authored-by: Mike McQuaid <mike@mikemcquaid.com>
This commit is contained in:
Issy Long 2021-02-05 13:52:32 +00:00 committed by GitHub
parent 9394fe2b52
commit f71ea65ee0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -84,7 +84,7 @@ module GitHub
# Error when the user has no GitHub API credentials set at all (macOS keychain or envvar). # Error when the user has no GitHub API credentials set at all (macOS keychain or envvar).
class MissingAuthenticationError < Error class MissingAuthenticationError < Error
def initialize def initialize
message = +"No GitHub credentials found in Keychain or environment.\n" message = +"No GitHub credentials found in macOS Keychain or environment.\n"
message << CREATE_GITHUB_PAT_MESSAGE message << CREATE_GITHUB_PAT_MESSAGE
super message super message
end end