formula_installer: fix manifest error handling

This commit is contained in:
Bo Anderson 2024-09-19 15:26:14 +01:00
parent e1ff668957
commit ca26080ef4
No known key found for this signature in database

View File

@ -1290,7 +1290,7 @@ on_request: installed_on_request?, options:)
.fetch("runtime_dependencies", []).then { |deps| deps || [] } .fetch("runtime_dependencies", []).then { |deps| deps || [] }
.each_with_object({}) { |dep, h| h[dep["full_name"]] = dep } .each_with_object({}) { |dep, h| h[dep["full_name"]] = dep }
.freeze .freeze
rescue DownloadError, ArgumentError rescue DownloadError, Resource::BottleManifest::Error
# do nothing # do nothing
end end
@fetch_bottle_tab = T.let(true, T.nilable(TrueClass)) @fetch_bottle_tab = T.let(true, T.nilable(TrueClass))