fix: [command:fieldSquasher] Allow persistence of changes

develop-unstable
Sami Mokaddem 2023-01-17 09:26:47 +01:00
parent 9ae446bb5d
commit cd9bb838f6
No known key found for this signature in database
GPG Key ID: 164C473F627A06FA
1 changed files with 2 additions and 3 deletions

View File

@ -87,11 +87,10 @@ class FieldSquasherCommand extends Command
if ($selection == 'Y') {
$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');
if ($selection == 'Y') {
// $this->saveData($this->{$table}, $entities);
$this->saveData($this->{$table}, $entities);
}
}