Quick fix for the PHPLoc directory setting

This commit is contained in:
Dan Cryer 2014-07-29 15:31:27 +01:00
parent 677f135b7c
commit 98cc4af41b

View file

@ -43,9 +43,11 @@ class PhpLoc implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin
{
$this->phpci = $phpci;
$this->build = $build;
$this->directory = isset($options['directory']) ?
$phpci->buildPath . '/' . $options['directory'] :
$phpci->buildPath;
$this->directory = $phpci->buildPath;
if (isset($options['directory'])) {
$this->directory .= $options['directory'];
}
}
/**