Ver código fonte

Do or do not, there is no try

Jordi Boggiano 12 anos atrás
pai
commit
4086c24778
1 arquivos alterados com 0 adições e 10 exclusões
  1. 0 10
      src/Composer/Command/ConfigCommand.php

+ 0 - 10
src/Composer/Command/ConfigCommand.php

@@ -257,16 +257,6 @@ EOT
             unset($configSettings['config']);
         }
 
-        // Make confirmation
-        if ($input->isInteractive()) {
-            $dialog = $this->getHelperSet()->get('dialog');
-            $output->writeln(JsonFile::encode($configSettings));
-            if (!$dialog->askConfirmation($output, $dialog->getQuestion('Do you confirm?', 'yes', '?'), true)) {
-                $output->writeln('<error>Command Aborted by User</error>');
-                return 1;
-            }
-        }
-
         $this->configFile->write($configSettings);
     }