Skip to content

Commit

Permalink
formula_auditor: fix error with formulae without taps
Browse files Browse the repository at this point in the history
  • Loading branch information
Bo98 committed Dec 13, 2021
1 parent 146af84 commit 8ab9465
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/formula_auditor.rb
Original file line number Diff line number Diff line change
Expand Up @@ -121,6 +121,8 @@ def self.aliases
SYNCED_VERSIONS_FORMULAE_FILE = "synced_versions_formulae.json"

def audit_synced_versions_formulae
return unless formula.tap

synced_versions_formulae_file = formula.tap.path/SYNCED_VERSIONS_FORMULAE_FILE
return unless synced_versions_formulae_file.file?

Expand Down

0 comments on commit 8ab9465

Please sign in to comment.