Merge pull request #4511 from reitermarkus/extract-nestedly-basename

Don't pass down basename when extracting nestedly.
This commit is contained in:
JCount 2018-07-18 22:08:10 -04:00 committed by GitHub
commit 00eca7112a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -79,7 +79,7 @@ class UnpackStrategy
if children.count == 1 && !children.first.directory?
s = self.class.detect(children.first)
s.extract_nestedly(to: to, basename: basename)
s.extract_nestedly(to: to)
next
end