aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
authorXu Cheng2015-10-20 19:03:24 +0800
committerXu Cheng2015-10-20 19:03:24 +0800
commit8207c48a2333fcb485c348bd8649a5d08da9780c (patch)
tree03159f4ace09a41b8e73bc2988a287c0ad830367 /Library/Homebrew
parentfdd3469fca62eab96ed0c111451ba0e0a2efbbcc (diff)
downloadbrew-8207c48a2333fcb485c348bd8649a5d08da9780c.tar.bz2
underline url in Error message
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/utils.rb6
1 files changed, 3 insertions, 3 deletions
diff --git a/Library/Homebrew/utils.rb b/Library/Homebrew/utils.rb
index 4cbb38301..54ed31a38 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