aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/untap.rb
diff options
context:
space:
mode:
authorXu Cheng2016-03-07 18:08:37 +0800
committerXu Cheng2016-03-07 19:43:46 +0800
commit1e487edd21a55c447065a1cce3f6398b119e4669 (patch)
tree29054c001775faa7686b0f7acd0ad23da50366cd /Library/Homebrew/cmd/untap.rb
parenta3023c3ce837f295bfb1e70988909433a9a70708 (diff)
downloadbrew-1e487edd21a55c447065a1cce3f6398b119e4669.tar.bz2
tap various commands: use tap name method.
Instead of hard coded `Homebrew/homebrew`
Diffstat (limited to 'Library/Homebrew/cmd/untap.rb')
-rw-r--r--Library/Homebrew/cmd/untap.rb2
1 files changed, 1 insertions, 1 deletions
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