From ad1a75ec05e684b5b322dfe4877d16b8f8f58bbd Mon Sep 17 00:00:00 2001 From: Daren Chandisingh Date: Tue, 29 Jul 2014 14:18:02 +0100 Subject: [PATCH] Add build path to phploc directory --- PHPCI/Plugin/PhpLoc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/PHPCI/Plugin/PhpLoc.php b/PHPCI/Plugin/PhpLoc.php index 26ec8204..8efd0eee 100644 --- a/PHPCI/Plugin/PhpLoc.php +++ b/PHPCI/Plugin/PhpLoc.php @@ -43,7 +43,9 @@ class PhpLoc implements PHPCI\Plugin, PHPCI\ZeroConfigPlugin { $this->phpci = $phpci; $this->build = $build; - $this->directory = isset($options['directory']) ? $options['directory'] : $phpci->buildPath; + $this->directory = isset($options['directory']) ? + $phpci->buildPath . '/' . $options['directory'] : + $phpci->buildPath; } /**