From 5c7be57531221564c286cfaf830f9ac241f0373a Mon Sep 17 00:00:00 2001 From: Issy Long Date: Tue, 20 Feb 2024 23:36:52 +0000 Subject: [PATCH] Appease Sorbet --- Library/Homebrew/rubocops/resource_requires_dependencies.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Library/Homebrew/rubocops/resource_requires_dependencies.rb b/Library/Homebrew/rubocops/resource_requires_dependencies.rb index f24c7f342f..b108dfa09f 100644 --- a/Library/Homebrew/rubocops/resource_requires_dependencies.rb +++ b/Library/Homebrew/rubocops/resource_requires_dependencies.rb @@ -35,6 +35,8 @@ module RuboCop when "pyyaml" kind = "depends_on" ["libyaml"] + else + [] end next if required_deps.all? { |dep| uses_from_macos.include?(dep) || depends_on.include?(dep) }