mirror of
https://github.com/Homebrew/brew.git
synced 2025-07-14 16:09:03 +08:00
audit_file: fix condition
Co-authored-by: Bo Anderson <mail@boanderson.me>
This commit is contained in:
parent
de8eb35b73
commit
b7cb8356c1
@ -124,7 +124,7 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
|
||||
return if !formula.core_formula? && formula.path == formula.tap.new_formula_path(formula.name)
|
||||
return if !formula.core_formula? || formula.path == formula.tap.new_formula_path(formula.name)
|
||||
|
||||
problem <<~EOS
|
||||
Formula is in wrong path:
|
||||
|
Loading…
x
Reference in New Issue
Block a user