Use extract_nestedly for staging.

This commit is contained in:
Markus Reiter 2018-07-17 10:19:15 +02:00
parent 63c5bd96a0
commit 88cef28246

View File

@ -48,7 +48,7 @@ class AbstractDownloadStrategy
# Unlike {Resource#stage}, this does not take a block.
def stage
UnpackStrategy.detect(cached_location, ref_type: @ref_type, ref: @ref)
.extract(basename: basename_without_params)
.extract_nestedly(basename: basename_without_params)
end
# @!attribute [r] cached_location