Fix code style.

This commit is contained in:
Markus Reiter 2024-02-08 20:49:09 +01:00
parent 4641690674
commit d70f719411
No known key found for this signature in database
GPG Key ID: 245293B51702655B

View File

@ -859,7 +859,9 @@ module Formulary
return unless (match = ref.match(HOMEBREW_DEFAULT_TAP_FORMULA_REGEX)) return unless (match = ref.match(HOMEBREW_DEFAULT_TAP_FORMULA_REGEX))
name = alias_name = T.cast(match[:name], String) name = alias_name = T.cast(match[:name], String)
unless Homebrew::API::Formula.all_formulae.key?(name) || Homebrew::API::Formula.all_aliases.key?(name) || Homebrew::API::Formula.all_renames.key?(name) if !Homebrew::API::Formula.all_formulae.key?(name) &&
!Homebrew::API::Formula.all_aliases.key?(name) &&
!Homebrew::API::Formula.all_renames.key?(name)
return return
end end