diff --git a/src/Handler.php b/src/Handler.php index f963d55c49f1743ae7a0a4a2f109346c429f1f09..d16de1b175611d74a2b20753a82e2c47f4af23a1 100644 --- a/src/Handler.php +++ b/src/Handler.php @@ -365,10 +365,8 @@ class Handler extends BaseHandler { return $mount['Source']; } } - else { - if (strpos($projectRoot, $mount['Destination']) === 0) { - return $mount['Source'] . substr($projectRoot, strlen($mount['Destination'])); - } + else if (strpos($projectRoot, $mount['Destination']) === 0) { + return $mount['Source'] . substr($projectRoot, strlen($mount['Destination'])); } } return getcwd();