1
0
Fork 0

added logging for wrong files

pull/1728/head
Serge Smertin 2013-03-25 00:04:34 +01:00
parent 4b176f11f2
commit 0aad11801e
1 changed files with 2 additions and 1 deletions

View File

@ -32,6 +32,7 @@ class ArtifactRepository extends ArrayRepository
public function __construct(array $repoConfig, IOInterface $io, Config $config, array $drivers = null)
{
$this->path = $repoConfig['url'];
$this->io = $io;
}
protected function initialize()
@ -55,7 +56,7 @@ class ArtifactRepository extends ArrayRepository
$package = $this->getComposerInformation($file);
if(!$package) {
// @todo add log
$this->io->write("File <comment>{$file->getBasename()}</comment> doesn't seem to hold a package");
continue;
}