Normalize formatting of gist-logs errors
This commit is contained in:
parent
2a1b936f76
commit
2bf0db40b3
@ -42,7 +42,7 @@ module Homebrew
|
||||
if GitHub.api_credentials_type == :none
|
||||
puts <<~EOS
|
||||
You can create a new personal access token:
|
||||
#{GitHub::ALL_SCOPES_URL}
|
||||
#{GitHub::ALL_SCOPES_URL}
|
||||
#{Utils::Shell.set_variable_in_profile("HOMEBREW_GITHUB_API_TOKEN", "your_token_here")}
|
||||
|
||||
EOS
|
||||
|
||||
@ -123,7 +123,8 @@ module GitHub
|
||||
Your macOS keychain GitHub credentials do not have sufficient scope!
|
||||
Scopes they need: #{needed_human_scopes}
|
||||
Scopes they have: #{credentials_scopes}
|
||||
Create a personal access token: #{ALL_SCOPES_URL}
|
||||
Create a personal access token:
|
||||
#{ALL_SCOPES_URL}
|
||||
#{Utils::Shell.set_variable_in_profile("HOMEBREW_GITHUB_API_TOKEN", "your_token_here")}
|
||||
EOS
|
||||
when :environment
|
||||
@ -131,7 +132,8 @@ module GitHub
|
||||
Your HOMEBREW_GITHUB_API_TOKEN does not have sufficient scope!
|
||||
Scopes they need: #{needed_human_scopes}
|
||||
Scopes it has: #{credentials_scopes}
|
||||
Create a new personal access token: #{ALL_SCOPES_URL}
|
||||
Create a new personal access token:
|
||||
#{ALL_SCOPES_URL}
|
||||
#{Utils::Shell.set_variable_in_profile("HOMEBREW_GITHUB_API_TOKEN", "your_token_here")}
|
||||
EOS
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user