added logging for wrong files

main
Serge Smertin 11 years ago
parent 4b176f11f2
commit 0aad11801e

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

Loading…
Cancel
Save