fix: [command:fieldSquasher] Allow persistence of changes
parent
9ae446bb5d
commit
cd9bb838f6
|
@ -87,11 +87,10 @@ class FieldSquasherCommand extends Command
|
||||||
if ($selection == 'Y') {
|
if ($selection == 'Y') {
|
||||||
$this->saveDataOnDisk($filename, $candidateResult['candidates']);
|
$this->saveDataOnDisk($filename, $candidateResult['candidates']);
|
||||||
}
|
}
|
||||||
die(1);
|
$entities = $candidateResult['candidates'];
|
||||||
|
|
||||||
$selection = $io->askChoice('A sample of the data you about to be saved is provided above. Would you like to proceed?', ['Y', 'N'], 'N');
|
$selection = $io->askChoice('A sample of the data you about to be saved is provided above. Would you like to proceed?', ['Y', 'N'], 'N');
|
||||||
if ($selection == 'Y') {
|
if ($selection == 'Y') {
|
||||||
// $this->saveData($this->{$table}, $entities);
|
$this->saveData($this->{$table}, $entities);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue