Skip to content
Snippets Groups Projects
Unverified Commit 318a5049 authored by Rylan Polster's avatar Rylan Polster Committed by GitHub
Browse files

Merge pull request #8831 from Rylan12/bump-formula-pr-resource-warning-fix

bump-formula-pr: don't warn for virtualenv resource
parents 7e240288 f5c07a29
No related branches found
No related tags found
No related merge requests found
......@@ -145,7 +145,9 @@ module Homebrew
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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment