Skip to content

Commit

Permalink
audit_file: fix condition
Browse files Browse the repository at this point in the history
Co-authored-by: Bo Anderson <[email protected]>
  • Loading branch information
bayandin and Bo98 authored Sep 4, 2023
1 parent de8eb35 commit b7cb835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/formula_auditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def audit_file
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

Check warning on line 129 in Library/Homebrew/formula_auditor.rb

View check run for this annotation

Codecov / codecov/patch

Library/Homebrew/formula_auditor.rb#L129

Added line #L129 was not covered by tests
Formula is in wrong path:
Expand Down

0 comments on commit b7cb835

Please sign in to comment.