浏览代码

#3663 fix error message for config command

Dmitry Tarasov 10 年之前
父节点
当前提交
506d923e7c
共有 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("File '$configFile' cannot be found in the current directory");
         }
     }