diff --git a/Library/Homebrew/cli/args.rb b/Library/Homebrew/cli/args.rb index 2b1292b845..5ea0f3e8e2 100644 --- a/Library/Homebrew/cli/args.rb +++ b/Library/Homebrew/cli/args.rb @@ -70,6 +70,13 @@ module Homebrew sig { returns(T.nilable(String)) } def os = nil + sig { params(_blk: T.untyped).returns(T.untyped) } + def tap(&_blk) + return super if block_given? # Object#tap + + @table[:tap] + end + sig { params(processed_options: OptionsType).void } def freeze_processed_options!(processed_options) # Reset cache values reliant on processed_options