download_strategy: fix nounzip strategy ignoring block
This commit is contained in:
parent
cdaf5cca16
commit
85eb346fb7
@ -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
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user