From 230fd5e800fb0c005eb37ed586a43cb5e7202615 Mon Sep 17 00:00:00 2001 From: Adam Prager Date: Thu, 21 May 2015 12:25:46 +0200 Subject: [PATCH] Fixed logfile path --- Util/Helper.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Util/Helper.php b/Util/Helper.php index 1531977..5bdae6f 100644 --- a/Util/Helper.php +++ b/Util/Helper.php @@ -55,7 +55,7 @@ public function read(InputInterface $input = null, $group = null) ); if ($input->hasOption('log-dir') && $annotation->logFile !== null) { - $logDir = trim($input->getOption('log-dir'), '\\/'); + $logDir = rtrim($input->getOption('log-dir'), '\\/'); $annotation->logFile = $logDir . '/' . $annotation->logFile; }