utils/bottles: remove unused method.
This commit is contained in:
parent
c7e183ef9f
commit
c8aea8653a
@ -39,12 +39,6 @@ module Utils
|
|||||||
HOMEBREW_BOTTLES_EXTNAME_REGEX.match(filename).to_a
|
HOMEBREW_BOTTLES_EXTNAME_REGEX.match(filename).to_a
|
||||||
end
|
end
|
||||||
|
|
||||||
# TODO: remove when removed from brew-test-bot
|
|
||||||
sig { returns(Regexp) }
|
|
||||||
def native_regex
|
|
||||||
/(\.#{Regexp.escape(tag.to_s)}\.bottle\.(\d+\.)?tar\.gz)$/o
|
|
||||||
end
|
|
||||||
|
|
||||||
def receipt_path(bottle_file)
|
def receipt_path(bottle_file)
|
||||||
path = Utils.popen_read("tar", "-tzf", bottle_file).lines.map(&:chomp).find do |line|
|
path = Utils.popen_read("tar", "-tzf", bottle_file).lines.map(&:chomp).find do |line|
|
||||||
line =~ %r{.+/.+/INSTALL_RECEIPT.json}
|
line =~ %r{.+/.+/INSTALL_RECEIPT.json}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user