Merge pull request #12774 from milas/fix-bump-formula-pr
dev-cmd/bump-formula-pr: fix undefined method null error
This commit is contained in:
commit
768b172393
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user