Skip to content

Commit

Permalink
use DIRECTORY_SEPARATOR
Browse files Browse the repository at this point in the history
For issue #1446
  • Loading branch information
Josh Koenig committed Jan 20, 2017
1 parent 173f720 commit f15aea0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Config/DefaultsConfig.php
Expand Up @@ -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);
Expand Down

0 comments on commit f15aea0

Please sign in to comment.