diff --git a/src/Config/DefaultsConfig.php b/src/Config/DefaultsConfig.php index 3bed60198..05f375b0d 100644 --- a/src/Config/DefaultsConfig.php +++ b/src/Config/DefaultsConfig.php @@ -56,7 +56,7 @@ protected function getTerminusRoot($current_dir = null) if (is_null($current_dir)) { $current_dir = dirname(__DIR__); } - if (file_exists("$current_dir/composer.json")) { + if (file_exists($current_dir . DIRECTORY_SEPARATOR . 'composer.json')) { return $current_dir; } $dir = explode('/', $current_dir);