From 9e210c83382ce9c87ff2b58c45d3a1f63a1467dc Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Mon, 15 Apr 2013 21:32:20 +0200 Subject: [PATCH] Clarify exception message --- src/Composer/Config.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Composer/Config.php b/src/Composer/Config.php index 7dc0c6ebd..1a3856188 100644 --- a/src/Composer/Config.php +++ b/src/Composer/Config.php @@ -180,7 +180,7 @@ class Config if ($env = getenv('COMPOSER_DISCARD_CHANGES')) { if (!in_array($env, array('stash', 'true', 'false', '1', '0'), true)) { throw new \RuntimeException( - "Invalid value for 'discard-changes': {$this->config[$key]}, expected 1, 0, true, false or stash" + "Invalid value for COMPOSER_DISCARD_CHANGES: {$this->config[$key]}, expected 1, 0, true, false or stash" ); } if ('stash' === $env) {