Merge pull request #13408 from Bo98/extract-bottle-arg

dev-cmd/extract: strip out old bottle disable reasons
This commit is contained in:
Bo Anderson 2022-06-11 18:29:23 +01:00 committed by GitHub
commit 4484068dee
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -64,7 +64,7 @@ module Homebrew
module_function module_function
BOTTLE_BLOCK_REGEX = / bottle do.+?end\n\n/m.freeze BOTTLE_BLOCK_REGEX = / bottle (?:do.+?end|:[a-z]+)\n\n/m.freeze
sig { returns(CLI::Parser) } sig { returns(CLI::Parser) }
def extract_args def extract_args