Merge pull request #558 from stloyd/patch-1
[PharDownloader] Force overwrite if previous extract failed and was not ...pull/561/head
commit
858d967a42
|
@ -28,7 +28,7 @@ class PharDownloader extends ArchiveDownloader
|
||||||
{
|
{
|
||||||
// Can throw an UnexpectedValueException
|
// Can throw an UnexpectedValueException
|
||||||
$archive = new \Phar($file);
|
$archive = new \Phar($file);
|
||||||
$archive->extractTo($path);
|
$archive->extractTo($path, null, true);
|
||||||
/* TODO: handle openssl signed phars
|
/* TODO: handle openssl signed phars
|
||||||
* https://github.com/composer/composer/pull/33#issuecomment-2250768
|
* https://github.com/composer/composer/pull/33#issuecomment-2250768
|
||||||
* https://github.com/koto/phar-util
|
* https://github.com/koto/phar-util
|
||||||
|
|
Loading…
Reference in New Issue