From 0f974bdb0a70ddfd3cfff2d899b03cef50255ec2 Mon Sep 17 00:00:00 2001 From: BrewTestBot <1589480+BrewTestBot@users.noreply.github.com> Date: Fri, 22 Mar 2024 00:18:58 +0000 Subject: [PATCH 1/2] sorbet: Update RBI files. Autogenerated by the [sorbet](https://github.com/Homebrew/brew/blob/master/.github/workflows/sorbet.yml) workflow. --- Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi index a0c1be814f..94ce0beb94 100644 --- a/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi +++ b/Library/Homebrew/sorbet/rbi/dsl/homebrew/cli/args.rbi @@ -209,6 +209,9 @@ class Homebrew::CLI::Args sig { returns(T.nilable(T::Array[String])) } def extra_packages; end + sig { returns(T::Boolean) } + def extract_plist?; end + sig { returns(T::Boolean) } def f?; end From 4dc92026b8fdce74c8e4d60695586be4171fe6ba Mon Sep 17 00:00:00 2001 From: Douglas Eichelberger Date: Thu, 21 Mar 2024 17:46:35 -0700 Subject: [PATCH 2/2] Use non-null description --- Library/Homebrew/test/abstract_command_spec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/Library/Homebrew/test/abstract_command_spec.rb b/Library/Homebrew/test/abstract_command_spec.rb index 0b3b5e05a4..70bfd6656d 100644 --- a/Library/Homebrew/test/abstract_command_spec.rb +++ b/Library/Homebrew/test/abstract_command_spec.rb @@ -7,6 +7,7 @@ RSpec.describe Homebrew::AbstractCommand do before do cat = Class.new(described_class) do cmd_args do + description "test" switch "--foo" flag "--bar=" end