mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
16 lines
342 B
Ruby
16 lines
342 B
Ruby
#: * `tap-unpin` <tap>:
|
|
#: Unpin <tap> so its formulae are no longer prioritized. See also `tap-pin`.
|
|
|
|
module Homebrew
|
|
module_function
|
|
|
|
def tap_unpin
|
|
ARGV.named.each do |name|
|
|
tap = Tap.fetch(name)
|
|
raise "unpinning #{tap} is not allowed" if tap.core_tap?
|
|
tap.unpin
|
|
ohai "Unpinned #{tap}"
|
|
end
|
|
end
|
|
end
|