1
0
Fork 0

Fix config support for new bin-compat value, refs #9959

pull/9975/head
Jordi Boggiano 2021-06-09 16:19:29 +02:00
parent 3afa0a2df6
commit 2d54a27ebc
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 2 additions and 2 deletions

View File

@ -315,9 +315,9 @@ class Config
case 'bin-compat':
$value = $this->getComposerEnv('COMPOSER_BIN_COMPAT') ?: $this->config[$key];
if (!in_array($value, array('auto', 'full'))) {
if (!in_array($value, array('auto', 'full', 'symlink'))) {
throw new \RuntimeException(
"Invalid value for 'bin-compat': {$value}. Expected auto, full"
"Invalid value for 'bin-compat': {$value}. Expected auto, full or symlink"
);
}