From 88cef282464372942c2985879497ddb5d5df8c21 Mon Sep 17 00:00:00 2001 From: Markus Reiter Date: Tue, 17 Jul 2018 10:19:15 +0200 Subject: [PATCH] Use `extract_nestedly` for staging. --- Library/Homebrew/download_strategy.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/download_strategy.rb b/Library/Homebrew/download_strategy.rb index d4aa4cb1ae..0ed3554501 100644 --- a/Library/Homebrew/download_strategy.rb +++ b/Library/Homebrew/download_strategy.rb @@ -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