Prepend the build path to ignored directories in PhpParallelLint.php.
Closes #710
This commit is contained in:
parent
0beb77113a
commit
a2e97c69ac
|
@ -105,10 +105,11 @@ class PhpParallelLint implements \PHPCI\Plugin
|
|||
*/
|
||||
protected function getFlags()
|
||||
{
|
||||
$ignore = '';
|
||||
if (count($this->ignore)) {
|
||||
$ignore = ' --exclude ' . implode(' --exclude ', $this->ignore);
|
||||
$ignoreFlags = array();
|
||||
foreach ($this->ignore as $ignoreDir) {
|
||||
$ignoreFlags[] = '--exclude "' . $this->phpci->buildPath . $ignoreDir . '"';
|
||||
}
|
||||
$ignore = implode(' ', $ignoreFlags);
|
||||
|
||||
return array($ignore);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue