1
0
Fork 0
pull/7339/head
Rob Bast 2018-07-23 07:53:12 +02:00
parent bbee0a6d85
commit 0db48b4f2e
No known key found for this signature in database
GPG Key ID: 73076E35E6165F39
1 changed files with 4 additions and 0 deletions

View File

@ -129,11 +129,15 @@ class ArtifactRepository extends ArrayRepository implements ConfigurableReposito
$zip->open($file->getPathname());
if (0 == $zip->numFiles) {
$zip->close();
return false;
}
$foundFileIndex = $this->locateFile($zip, 'composer.json');
if (false === $foundFileIndex) {
$zip->close();
return false;
}