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; }