1
0
Fork 0

Sort conditions by cost

pull/9165/head
username 2020-08-29 21:19:52 +02:00
parent abedc0dc42
commit 98462292c0
1 changed files with 1 additions and 1 deletions

View File

@ -474,7 +474,7 @@ EOT
),
);
if ($input->getOption('unset') && (isset($uniqueConfigValues[$settingKey]) || isset($multiConfigValues[$settingKey]))) {
if ((isset($uniqueConfigValues[$settingKey]) || isset($multiConfigValues[$settingKey])) && $input->getOption('unset')) {
if ($settingKey === 'disable-tls' && $this->config->get('disable-tls')) {
$this->getIO()->writeError('<info>You are now running Composer with SSL/TLS protection enabled.</info>');
}