Skip to content

Commit

Permalink
Merge pull request #18313 from Homebrew/skip-build-error-issues
Browse files Browse the repository at this point in the history
  • Loading branch information
carlocab authored Sep 12, 2024
2 parents 0fb4d51 + a4b4338 commit b78f4b9
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Library/Homebrew/exceptions.rb
Original file line number Diff line number Diff line change
Expand Up @@ -495,6 +495,8 @@ def issues

sig { returns(T::Array[T.untyped]) }
def fetch_issues
return [] if ENV["HOMEBREW_NO_BUILD_ERROR_ISSUES"].present?

GitHub.issues_for_formula(formula.name, tap: formula.tap, state: "open", type: "issue")
rescue GitHub::API::Error => e
opoo "Unable to query GitHub for recent issues on the tap\n#{e.message}"
Expand Down

0 comments on commit b78f4b9

Please sign in to comment.