Merge pull request #8403 from maxim-belkin/kwk-phx-to-s

utils/repology.rb: fix "String can't be coerced into Integer"
This commit is contained in:
Maxim Belkin 2020-08-19 14:46:29 -05:00 committed by GitHub
commit 85c061295d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -38,7 +38,7 @@ module Repology
while page_no <= MAX_PAGINATION
odebug "Paginating Repology API page: #{page_no}"
response = query_api(last_package_index)
response = query_api(last_package_index.to_s)
response_size = response.size
outdated_packages.merge!(response)
last_package_index = outdated_packages.size - 1