Refactored Task#build_package_list to fix 'overdownloading' packages that then are replaced/no longer needed; FIXME: broke Repair task in the process.

This commit is contained in:
2024-03-02 01:41:36 -06:00
parent 84051103fc
commit cd0db4e0fc
3 changed files with 31 additions and 21 deletions

View File

@@ -222,6 +222,7 @@ class W3DHub
if response.status == 200
hash = JSON.parse(response.body, symbolize_names: true)
hash[:packages].map { |pkg| Package.new(pkg) }
else
logger.error(LOG_TAG) { "Failed to fetch package details for:" }