aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/tap-pin.rb
diff options
context:
space:
mode:
authorXu Cheng2016-03-07 18:04:25 +0800
committerXu Cheng2016-03-07 19:43:46 +0800
commit28f3dae8cd5bf975121090cb58262b8344a3917c (patch)
tree3b2b793a3c715b401d5ef9288d5c108f334e4aa2 /Library/Homebrew/cmd/tap-pin.rb
parent2b32cfe7b0b0171da97a96d6e1f9ed3ec92e7f6c (diff)
downloadbrew-28f3dae8cd5bf975121090cb58262b8344a3917c.tar.bz2
rename CoreFormulaRepository to CoreTap
Core tap will be separated from core code in the near future. It makes sense to rename it to CoreTap.
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 e906c700d..7625f2642 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 "Homebrew/homebrew is not allowed" if tap.core_formula_repository?
+ raise "Homebrew/homebrew is not allowed" if tap.core_tap?
tap.pin
ohai "Pinned #{tap.name}"
end