Merge pull request #12324 from danielnachun/bottle_regex_fix

bottle.rb: fix typo in go regex
This commit is contained in:
Carlo Cabrera 2021-10-26 18:14:37 +08:00 committed by GitHub
commit 000a9829a0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -281,7 +281,7 @@ module Homebrew
end end
if any_go_deps if any_go_deps
go_regex = Version.formula_optionally_versioned_regex(:go, full: false) go_regex = Version.formula_optionally_versioned_regex(:go, full: false)
ignores << %r{#{cellar_regex}/#{go_regex}/[\d.]+/libexec]} ignores << %r{#{cellar_regex}/#{go_regex}/[\d.]+/libexec}
end end
ignores << case f.name ignores << case f.name