Skip to content

Commit

Permalink
bump-formula-pr: don't warn for virtualenv resource
Browse files Browse the repository at this point in the history
  • Loading branch information
Rylan12 committed Oct 1, 2020
1 parent 2331927 commit f5c07a2
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 f5c07a2

Please sign in to comment.