update-report: don't try to report Homebrew/core if not needed

This commit is contained in:
Rylan Polster 2021-07-16 11:35:51 -04:00
parent fba8dd6705
commit a1ecb02736
No known key found for this signature in database
GPG Key ID: 46A744940CFF4D64

View File

@ -102,6 +102,7 @@ module Homebrew
updated_taps = []
Tap.each do |tap|
next unless tap.git?
next if tap.core_tap? && ENV["HOMEBREW_JSON_CORE"].present?
begin
reporter = Reporter.new(tap)