From 2e2f7ea199690d74363c28d0b718ac0c1bb2ff79 Mon Sep 17 00:00:00 2001 From: Joseph Bielawski Date: Tue, 10 Apr 2012 13:44:21 +0300 Subject: [PATCH] [TarDownloader] Force overwrite if previous extract failed and was not removed. --- src/Composer/Downloader/TarDownloader.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Downloader/TarDownloader.php b/src/Composer/Downloader/TarDownloader.php index 0429a4232..c9ea449f8 100644 --- a/src/Composer/Downloader/TarDownloader.php +++ b/src/Composer/Downloader/TarDownloader.php @@ -28,6 +28,6 @@ class TarDownloader extends ArchiveDownloader { // Can throw an UnexpectedValueException $archive = new \PharData($file); - $archive->extractTo($path); + $archive->extractTo($path, null, true); } }