From 3554bd0889233820950000095d0d9f42a875489a Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Mon, 8 Sep 2025 11:22:06 -0700 Subject: [PATCH] Fix rebase errors --- Library/Homebrew/dev-cmd/bottle.rb | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/Library/Homebrew/dev-cmd/bottle.rb b/Library/Homebrew/dev-cmd/bottle.rb index 48b4505573..7fb25e4a56 100644 --- a/Library/Homebrew/dev-cmd/bottle.rb +++ b/Library/Homebrew/dev-cmd/bottle.rb @@ -410,7 +410,7 @@ module Homebrew bottle_tag, rebuild = if local_bottle_json _, tag_string, rebuild_string = Utils::Bottles.extname_tag_rebuild(formula.local_bottle_path.to_s) - [tag_string.to_sym, rebuild_string.to_i] + [T.must(tag_string).to_sym, rebuild_string.to_i] end bottle_tag = if bottle_tag @@ -861,8 +861,7 @@ module Homebrew end sig { - params(formula: Formula, formula_ast: Utils::AST::FormulaAST, - bottle_hash: T::Hash[String, T.untyped]) + params(formula: Formula, formula_ast: Utils::AST::FormulaAST, bottle_hash: T::Hash[String, T.untyped]) .returns(T.nilable(T::Array[T::Hash[Symbol, T.any(String, Symbol)]])) } def old_checksums(formula, formula_ast, bottle_hash)