Merge pull request #4495 from reitermarkus/extract-nestedly

Use `extract_nestedly` for staging.
This commit is contained in:
Markus Reiter 2018-07-17 10:46:52 +02:00 committed by GitHub
commit 493c20eaf0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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