Browse Source

Merge pull request #3665 from theravel/master

#3663 fix error message for config command
Nils Adermann 10 years ago
parent
commit
25d4b85f06
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Composer/Command/ConfigCommand.php

+ 1 - 1
src/Composer/Command/ConfigCommand.php

@@ -137,7 +137,7 @@ EOT
         }
 
         if (!$this->configFile->exists()) {
-            throw new \RuntimeException('No composer.json found in the current directory');
+            throw new \RuntimeException(sprintf('File "%s" cannot be found in the current directory', $configFile));
         }
     }