blob: 05bfc7c8b9d97d7af7e239ddfb57a59077838d59 (
plain)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
 | #:  * `tap-unpin` <tap>:
#:    Unpin <tap> so its formulae are no longer prioritized. See also `tap-pin`.
require "tap"
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
 |