Fix BottleAPI::latest_pkg_version comparison
This commit is contained in:
parent
b68e17552c
commit
92af768211
@ -48,7 +48,9 @@ module BottleAPI
|
||||
|
||||
return unless @formula_versions.key? name
|
||||
|
||||
PkgVersion.new(@formula_versions[name]["version"], @formula_versions[name]["revision"])
|
||||
version = Version.new(@formula_versions[name]["version"])
|
||||
revision = @formula_versions[name]["revision"]
|
||||
PkgVersion.new(version, revision)
|
||||
end
|
||||
|
||||
sig { params(name: String).returns(T::Boolean) }
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user