Skip to content

Commit

Permalink
Merge pull request #15345 from ZhongRuoyu/update-report-no-origin
Browse files Browse the repository at this point in the history
cmd/update-report: do not fail when tap has no origin
  • Loading branch information
MikeMcQuaid authored May 2, 2023
2 parents 1715b6a + 5d9c3d0 commit e62a839
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Library/Homebrew/cmd/update-report.rb
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,7 @@ def output_update_report

updated_taps = []
Tap.each do |tap|
next unless tap.git?
next if !tap.git? || tap.git_repo.origin_url.nil?
next if (tap.core_tap? || tap == "homebrew/cask") && !Homebrew::EnvConfig.no_install_from_api?

if ENV["HOMEBREW_MIGRATE_LINUXBREW_FORMULAE"].present? && tap.core_tap? &&
Expand Down

0 comments on commit e62a839

Please sign in to comment.