Do or do not, there is no try
parent
17d8dfba1d
commit
4086c24778
|
@ -257,16 +257,6 @@ EOT
|
||||||
unset($configSettings['config']);
|
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);
|
$this->configFile->write($configSettings);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue