From c8aea8653abcbb89a1334b173511b39e8588825a Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Wed, 31 Mar 2021 20:23:23 +0100 Subject: [PATCH] utils/bottles: remove unused method. --- Library/Homebrew/utils/bottles.rb | 6 ------ 1 file changed, 6 deletions(-) diff --git a/Library/Homebrew/utils/bottles.rb b/Library/Homebrew/utils/bottles.rb index 7c2150c315..d01b8582a6 100644 --- a/Library/Homebrew/utils/bottles.rb +++ b/Library/Homebrew/utils/bottles.rb @@ -39,12 +39,6 @@ module Utils HOMEBREW_BOTTLES_EXTNAME_REGEX.match(filename).to_a 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) path = Utils.popen_read("tar", "-tzf", bottle_file).lines.map(&:chomp).find do |line| line =~ %r{.+/.+/INSTALL_RECEIPT.json}