1
0
Fork 0

Remove unecessary unlink before writing archive

pull/1567/head
Nils Adermann 2013-02-26 14:58:21 +01:00
parent 074af5dc54
commit 6ee08a2046
1 changed files with 0 additions and 3 deletions

View File

@ -39,9 +39,6 @@ class PharArchiver implements ArchiverInterface
$excludePatterns = $this->generatePatterns($excludes); $excludePatterns = $this->generatePatterns($excludes);
try { try {
if (file_exists($target)) {
unlink($target);
}
$phar = new \PharData($target, null, null, static::$formats[$format]); $phar = new \PharData($target, null, null, static::$formats[$format]);
$finder = new Finder\Finder(); $finder = new Finder\Finder();
$finder $finder