Просмотр исходного кода

Merge pull request #3665 from theravel/master

#3663 fix error message for config command
Nils Adermann 10 лет назад
Родитель
Сommit
25d4b85f06
1 измененных файлов с 1 добавлено и 1 удалено
  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));
         }
     }