diff --git a/Library/Homebrew/dev-cmd/bump-formula-pr.rb b/Library/Homebrew/dev-cmd/bump-formula-pr.rb index 076e1a2418..c1ee9820ae 100644 --- a/Library/Homebrew/dev-cmd/bump-formula-pr.rb +++ b/Library/Homebrew/dev-cmd/bump-formula-pr.rb @@ -435,10 +435,9 @@ module Homebrew specs = {} specs[:tag] = tag if tag.present? version = Version.detect(url, **specs) + return if version.null? end - return if version.null? - check_throttle(formula, version) check_closed_pull_requests(formula, tap_remote_repo, args: args, version: version) end