Merge pull request #16920 from Homebrew/fix-version-type
bump-formula-pr: fix type of detected version
This commit is contained in:
commit
e3de11ac50
@ -462,8 +462,8 @@ module Homebrew
|
|||||||
if version.nil?
|
if version.nil?
|
||||||
specs = {}
|
specs = {}
|
||||||
specs[:tag] = tag if tag.present?
|
specs[:tag] = tag if tag.present?
|
||||||
version = Version.detect(url, **specs)
|
version = Version.detect(url, **specs).to_s
|
||||||
return if version.null?
|
return if version.blank?
|
||||||
end
|
end
|
||||||
|
|
||||||
check_throttle(formula, version)
|
check_throttle(formula, version)
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user