mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
Fix code style.
This commit is contained in:
parent
4641690674
commit
d70f719411
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user