From 8193807f8d00337f72e73658e3b14df9a0f3f0d0 Mon Sep 17 00:00:00 2001 From: Rylan Polster Date: Thu, 21 Oct 2021 18:27:43 -0400 Subject: [PATCH] `update-report`: fix unset cask repo variable error --- Library/Homebrew/cmd/update-report.rb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/update-report.rb b/Library/Homebrew/cmd/update-report.rb index 7c0df7ad20..49fa06d917 100644 --- a/Library/Homebrew/cmd/update-report.rb +++ b/Library/Homebrew/cmd/update-report.rb @@ -136,7 +136,9 @@ module Homebrew updated_taps = [] Tap.each do |tap| next unless tap.git? - next if tap.core_tap? && ENV["HOMEBREW_INSTALL_FROM_API"].present? && args.preinstall? + if (tap.core_tap? || tap == "homebrew/cask") && ENV["HOMEBREW_INSTALL_FROM_API"].present? && args.preinstall? + next + end if ENV["HOMEBREW_MIGRATE_LINUXBREW_FORMULAE"].present? && tap.core_tap? && Settings.read("linuxbrewmigrated") != "true"