aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/tap-pin.rb
diff options
context:
space:
mode:
authorXu Cheng2016-04-02 21:33:38 +0800
committerXu Cheng2016-04-02 21:51:36 +0800
commitfa9a9ff5be2c149e9776e940bf40988dafea968a (patch)
tree196ba96156a27ba0591490e07abfa5f65237927f /Library/Homebrew/cmd/tap-pin.rb
parenta47ea61f0bd87fdcc4576b4a1a7da32616a82346 (diff)
downloadbrew-fa9a9ff5be2c149e9776e940bf40988dafea968a.tar.bz2
tap-(un)pin/untap: better error message
Closes Homebrew/homebrew#49904. Signed-off-by: Xu Cheng <xucheng@me.com>
Diffstat (limited to 'Library/Homebrew/cmd/tap-pin.rb')
-rw-r--r--Library/Homebrew/cmd/tap-pin.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/tap-pin.rb b/Library/Homebrew/cmd/tap-pin.rb
index 16c3a77db..32249cac2 100644
--- a/Library/Homebrew/cmd/tap-pin.rb
+++ b/Library/Homebrew/cmd/tap-pin.rb
@@ -4,7 +4,7 @@ module Homebrew
def tap_pin
ARGV.named.each do |name|
tap = Tap.fetch(name)
- raise "#{tap} is not allowed" if tap.core_tap?
+ raise "pinning #{tap} is not allowed" if tap.core_tap?
tap.pin
ohai "Pinned #{tap}"
end