1
0
Fork 0

Clarify exception message

pull/1807/head
Jordi Boggiano 2013-04-15 21:32:20 +02:00
parent 1d5e3c5a0d
commit 9e210c8338
1 changed files with 1 additions and 1 deletions

View File

@ -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) {