download_strategy: fix nounzip strategy ignoring block

This commit is contained in:
Bo Anderson 2021-02-22 13:48:19 +00:00
parent cdaf5cca16
commit 85eb346fb7

View File

@ -586,6 +586,7 @@ class NoUnzipCurlDownloadStrategy < CurlDownloadStrategy
UnpackStrategy::Uncompressed.new(cached_location)
.extract(basename: basename,
verbose: verbose? && !quiet?)
yield if block_given?
end
end