formula_auditor: scope eol check to core tap

This is not relevant information for third-party taps and requires
network requests to `endoflife.date` so it's best to avoid them
in this case.

Closes https://github.com/Homebrew/brew/issues/17531
This commit is contained in:
apainintheneck 2024-06-22 12:19:09 -07:00
parent b67f1721f5
commit ef56236127

View File

@ -567,6 +567,7 @@ module Homebrew
def audit_eol
return unless @online
return unless @core_tap
return if formula.deprecated? || formula.disabled?