parent
f9559ab990
commit
31e753c176
|
@ -143,9 +143,7 @@ class Index extends Command
|
||||||
if ($this->input->isInteractive()) {
|
if ($this->input->isInteractive()) {
|
||||||
$this->output->write('Are you sure you want to clear the existing index? (y/N): ');
|
$this->output->write('Are you sure you want to clear the existing index? (y/N): ');
|
||||||
if ('y' !== trim(fgets(STDIN))) {
|
if ('y' !== trim(fgets(STDIN))) {
|
||||||
$this->output->writeln('Aborting');
|
throw new \Exception('Aborting');
|
||||||
|
|
||||||
exit;
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue