Added notice about need of zip extension
parent
07920c48a6
commit
6cec5b0399
|
@ -36,6 +36,14 @@ class ArtifactRepository extends ArrayRepository
|
||||||
protected function initialize()
|
protected function initialize()
|
||||||
{
|
{
|
||||||
parent::initialize();
|
parent::initialize();
|
||||||
|
|
||||||
|
if (!extension_loaded('zip')) {
|
||||||
|
$msg = 'In order to use <comment>artifact</comment> repository, ' .
|
||||||
|
'you need to have <comment>zip</comment> extension enabled';
|
||||||
|
$this->io->write($msg);
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
$this->scanDirectory($this->lookup);
|
$this->scanDirectory($this->lookup);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue