Merge pull request #559 from stloyd/patch-2
[TarDownloader] Force overwrite if previous extract failed and was not r...pull/558/merge
commit
9cacff3de5
|
@ -28,6 +28,6 @@ class TarDownloader extends ArchiveDownloader
|
||||||
{
|
{
|
||||||
// Can throw an UnexpectedValueException
|
// Can throw an UnexpectedValueException
|
||||||
$archive = new \PharData($file);
|
$archive = new \PharData($file);
|
||||||
$archive->extractTo($path);
|
$archive->extractTo($path, null, true);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue