blob: 16c3a77dba5bee8ff363d77d8ee112708e763963 (
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 "#{tap} is not allowed" if tap.core_tap?
tap.pin
ohai "Pinned #{tap}"
end
end
end
|