Merge pull request #10670 from Bo98/nounzip-stage-fix

download_strategy: fix nounzip strategy ignoring block
This commit is contained in:
Mike McQuaid 2021-02-22 14:17:45 +00:00 committed by GitHub
commit b712bcc01e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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