Remove unecessary unlink before writing archive
parent
074af5dc54
commit
6ee08a2046
|
@ -39,9 +39,6 @@ class PharArchiver implements ArchiverInterface
|
|||
$excludePatterns = $this->generatePatterns($excludes);
|
||||
|
||||
try {
|
||||
if (file_exists($target)) {
|
||||
unlink($target);
|
||||
}
|
||||
$phar = new \PharData($target, null, null, static::$formats[$format]);
|
||||
$finder = new Finder\Finder();
|
||||
$finder
|
||||
|
|
Loading…
Reference in New Issue