1
0
Fork 0

Merge pull request #558 from stloyd/patch-1

[PharDownloader] Force overwrite if previous extract failed and was not ...
pull/561/head
Jordi Boggiano 2012-04-10 04:48:45 -07:00
commit 858d967a42
1 changed files with 1 additions and 1 deletions

View File

@ -28,7 +28,7 @@ class PharDownloader extends ArchiveDownloader
{
// Can throw an UnexpectedValueException
$archive = new \Phar($file);
$archive->extractTo($path);
$archive->extractTo($path, null, true);
/* TODO: handle openssl signed phars
* https://github.com/composer/composer/pull/33#issuecomment-2250768
* https://github.com/koto/phar-util