Skip to content
Snippets Groups Projects
Commit e4da1870 authored by jurgenhaas's avatar jurgenhaas
Browse files

Code style

parent b87cb93a
No related branches found
Tags v0.8.6
No related merge requests found
...@@ -365,10 +365,8 @@ class Handler extends BaseHandler { ...@@ -365,10 +365,8 @@ class Handler extends BaseHandler {
return $mount['Source']; return $mount['Source'];
} }
} }
else { else if (strpos($projectRoot, $mount['Destination']) === 0) {
if (strpos($projectRoot, $mount['Destination']) === 0) { return $mount['Source'] . substr($projectRoot, strlen($mount['Destination']));
return $mount['Source'] . substr($projectRoot, strlen($mount['Destination']));
}
} }
} }
return getcwd(); return getcwd();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment