Skip to content

Commit ceca3b8

Browse files
authored
Merge pull request #7 from bwaidelich/bugfix/fix-prune-command
BUGFIX: Fix prune command
2 parents ae93ac4 + 88bad35 commit ceca3b8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Classes/Command/ImportCommandController.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ public function runCommand(string $preset, ?bool $quiet = null, ?bool $forceUpda
7171
*/
7272
public function pruneCommand(string $preset, ?bool $quiet = null, ?bool $assumeYes = null): void
7373
{
74-
$importService = $this->importServiceFactory->create($preset);
74+
$importService = $this->importServiceFactory->create($preset, null, null);
7575
$this->registerEventHandlers($importService, $quiet ?? false);
7676
if ($assumeYes !== true && !$this->output->askConfirmation(sprintf('<error>Are you sure you want to delete all local records for preset "%s" (y/n)?</error>', $preset), false)) {
7777
if ($quiet !== true) {
@@ -155,7 +155,7 @@ public function presetCommand(string $preset): void
155155
*/
156156
public function setupCommand(string $preset): void
157157
{
158-
$setupResult = $this->importServiceFactory->create($preset)->setUp();
158+
$setupResult = $this->importServiceFactory->create($preset, null, null)->setUp();
159159
$this->renderResult($setupResult);
160160
if ($setupResult->hasErrors() || $setupResult->hasWarnings()) {
161161
$this->quit(1);

0 commit comments

Comments
 (0)