Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

WIP: [Feature #1135] as per stof comment

  • Loading branch information...
commit be538aeae6abdc52d68455c404444fd9fe3f6bea 1 parent 392aaea
@cordoval authored
Showing with 1 addition and 5 deletions.
  1. +1 −5 src/Composer/Util/Filesystem.php
View
6 src/Composer/Util/Filesystem.php
@@ -76,11 +76,7 @@ public function ensureDirectoryExists($directory)
public function directoryExists($dir)
{
- if (!is_dir($dir)) {
- return false;
- }
-
- return true;
+ return is_dir($dir);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.