untap: better match uninstall format.

This commit is contained in:
Mike McQuaid 2015-04-09 09:00:08 +01:00
parent a5c4eb2d3e
commit 6b41f38b69

View File

@ -17,6 +17,7 @@ module Homebrew
tapd = HOMEBREW_LIBRARY/"Taps/#{user}/homebrew-#{repo}" tapd = HOMEBREW_LIBRARY/"Taps/#{user}/homebrew-#{repo}"
raise "No such tap!" unless tapd.directory? raise "No such tap!" unless tapd.directory?
puts "Untapping #{tapname}... (#{tapd.abv})"
files = [] files = []
tapd.find_formula { |file| files << file } tapd.find_formula { |file| files << file }