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,9 +435,8 @@ module Homebrew
|
|||||||
specs = {}
|
specs = {}
|
||||||
specs[:tag] = tag if tag.present?
|
specs[:tag] = tag if tag.present?
|
||||||
version = Version.detect(url, **specs)
|
version = Version.detect(url, **specs)
|
||||||
end
|
|
||||||
|
|
||||||
return if version.null?
|
return if version.null?
|
||||||
|
end
|
||||||
|
|
||||||
check_throttle(formula, version)
|
check_throttle(formula, version)
|
||||||
check_closed_pull_requests(formula, tap_remote_repo, args: args, version: version)
|
check_closed_pull_requests(formula, tap_remote_repo, args: args, version: version)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user