diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb index 4cbb383013..54ed31a384 100644 --- a/Library/Homebrew/utils.rb +++ b/Library/Homebrew/utils.rb @@ -420,7 +420,7 @@ module GitHub super <<-EOS.undent GitHub #{error} 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 EOS end @@ -439,8 +439,8 @@ module GitHub super <<-EOS.undent GitHub #{error} HOMEBREW_GITHUB_API_TOKEN may be invalid or expired, check: - https://github.com/settings/tokens - EOS + #{Tty.em}https://github.com/settings/tokens#{Tty.reset} + EOS end end