aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/cmd/tap-info.rb2
-rw-r--r--Library/Homebrew/cmd/tap-pin.rb4
-rw-r--r--Library/Homebrew/cmd/tap-unpin.rb4
-rw-r--r--Library/Homebrew/cmd/untap.rb2
4 files changed, 6 insertions, 6 deletions
diff --git a/Library/Homebrew/cmd/tap-info.rb b/Library/Homebrew/cmd/tap-info.rb
index 3d1a0c83d..0a59341ff 100644
--- a/Library/Homebrew/cmd/tap-info.rb
+++ b/Library/Homebrew/cmd/tap-info.rb
@@ -10,7 +10,7 @@ module Homebrew
end
end
- raise "Homebrew/homebrew is not allowed" if taps.any?(&:core_tap?)
+ raise "#{tap} is not allowed" if taps.any?(&:core_tap?)
if ARGV.json == "v1"
print_tap_json(taps)
diff --git a/Library/Homebrew/cmd/tap-pin.rb b/Library/Homebrew/cmd/tap-pin.rb
index 7625f2642..16c3a77db 100644
--- a/Library/Homebrew/cmd/tap-pin.rb
+++ b/Library/Homebrew/cmd/tap-pin.rb
@@ -4,9 +4,9 @@ module Homebrew
def tap_pin
ARGV.named.each do |name|
tap = Tap.fetch(name)
- raise "Homebrew/homebrew is not allowed" if tap.core_tap?
+ raise "#{tap} is not allowed" if tap.core_tap?
tap.pin
- ohai "Pinned #{tap.name}"
+ ohai "Pinned #{tap}"
end
end
end
diff --git a/Library/Homebrew/cmd/tap-unpin.rb b/Library/Homebrew/cmd/tap-unpin.rb
index 5bf3bb178..7a7a52fc8 100644
--- a/Library/Homebrew/cmd/tap-unpin.rb
+++ b/Library/Homebrew/cmd/tap-unpin.rb
@@ -4,9 +4,9 @@ module Homebrew
def tap_unpin
ARGV.named.each do |name|
tap = Tap.fetch(name)
- raise "Homebrew/homebrew is not allowed" if tap.core_tap?
+ raise "#{tap} is not allowed" if tap.core_tap?
tap.unpin
- ohai "Unpinned #{tap.name}"
+ ohai "Unpinned #{tap}"
end
end
end
diff --git a/Library/Homebrew/cmd/untap.rb b/Library/Homebrew/cmd/untap.rb
index 52e1e9a18..2f1b8056e 100644
--- a/Library/Homebrew/cmd/untap.rb
+++ b/Library/Homebrew/cmd/untap.rb
@@ -6,7 +6,7 @@ module Homebrew
ARGV.named.each do |tapname|
tap = Tap.fetch(tapname)
- raise "Homebrew/homebrew is not allowed" if tap.core_tap?
+ raise "#{tap} is not allowed" if tap.core_tap?
tap.uninstall
end
end