Skip to content

Commit

Permalink
Merge pull request #8831 from Rylan12/bump-formula-pr-resource-warnin…
Browse files Browse the repository at this point in the history
…g-fix

bump-formula-pr: don't warn for virtualenv resource
  • Loading branch information
Rylan12 authored Oct 2, 2020
2 parents 7e24028 + f5c07a2 commit 318a504
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Library/Homebrew/dev-cmd/bump-formula-pr.rb
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ def bump_formula_pr
check_closed_pull_requests(formula, tap_full_name, version: new_version, args: args) if new_version

opoo "This formula has patches that may be resolved upstream." if formula.patchlist.present?
opoo "This formula has resources that may need to be updated." if formula.resources.present?
if formula.resources.present? && formula.resources.any? { |resource| resource.name != "homebrew-virtualenv" }
opoo "This formula has resources that may need to be updated."
end

requested_spec = :stable
formula_spec = formula.stable
Expand Down

0 comments on commit 318a504

Please sign in to comment.