diff --git a/Library/Homebrew/unpack_strategy.rb b/Library/Homebrew/unpack_strategy.rb index 5062deb5f7..7c302e2b61 100644 --- a/Library/Homebrew/unpack_strategy.rb +++ b/Library/Homebrew/unpack_strategy.rb @@ -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