Skip to content

Commit

Permalink
Merge pull request #12559 from Bo98/audit-no-tap
Browse files Browse the repository at this point in the history
formula_auditor: fix error with formulae without taps
  • Loading branch information
Bo98 authored Dec 14, 2021
2 parents 0c9a137 + 8ab9465 commit 29426f0
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 29426f0

Please sign in to comment.