underline url in Error message
This commit is contained in:
parent
fdd3469fca
commit
8207c48a23
@ -420,7 +420,7 @@ module GitHub
|
|||||||
super <<-EOS.undent
|
super <<-EOS.undent
|
||||||
GitHub #{error}
|
GitHub #{error}
|
||||||
Try again in #{pretty_ratelimit_reset(reset)}, or create a personal access token:
|
Try again in #{pretty_ratelimit_reset(reset)}, or create a personal access token:
|
||||||
https://github.com/settings/tokens/new?scopes=&description=Homebrew
|
#{Tty.em}https://github.com/settings/tokens/new?scopes=&description=Homebrew#{Tty.reset}
|
||||||
and then set the token as: HOMEBREW_GITHUB_API_TOKEN
|
and then set the token as: HOMEBREW_GITHUB_API_TOKEN
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
@ -439,8 +439,8 @@ module GitHub
|
|||||||
super <<-EOS.undent
|
super <<-EOS.undent
|
||||||
GitHub #{error}
|
GitHub #{error}
|
||||||
HOMEBREW_GITHUB_API_TOKEN may be invalid or expired, check:
|
HOMEBREW_GITHUB_API_TOKEN may be invalid or expired, check:
|
||||||
https://github.com/settings/tokens
|
#{Tty.em}https://github.com/settings/tokens#{Tty.reset}
|
||||||
EOS
|
EOS
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user