From 506d923e7c1e7a6d06467a35b8af3804ca5767d3 Mon Sep 17 00:00:00 2001 From: Dmitry Tarasov Date: Thu, 22 Jan 2015 11:26:25 +0300 Subject: [PATCH] #3663 fix error message for config command --- src/Composer/Command/ConfigCommand.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Command/ConfigCommand.php b/src/Composer/Command/ConfigCommand.php index 4d52c8473..9d27464b5 100644 --- a/src/Composer/Command/ConfigCommand.php +++ b/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"); } }