blob: e906c700d4afb93e02e410319a7b4082420c1319 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
require "tap"
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?
tap.pin
ohai "Pinned #{tap.name}"
end
end
end
|