Skip to content

Commit 166cd7e

Browse files
committed
Update code rollback call to pass in the rollback type of filesystem
1 parent fd034dc commit 166cd7e

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

setup/src/Magento/Setup/Console/Command/RollbackCommand.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -160,7 +160,11 @@ private function doRollback(InputInterface $input, OutputInterface $output, $kee
160160
$inputOptionProvided = false;
161161
$rollbackHandler = $this->backupRollbackFactory->create($output);
162162
if ($input->getOption(self::INPUT_KEY_CODE_BACKUP_FILE)) {
163-
$rollbackHandler->codeRollback($input->getOption(self::INPUT_KEY_CODE_BACKUP_FILE), $keepSourceFile);
163+
$rollbackHandler->codeRollback(
164+
$input->getOption(self::INPUT_KEY_CODE_BACKUP_FILE),
165+
Factory::TYPE_FILESYSTEM,
166+
$keepSourceFile
167+
);
164168
$inputOptionProvided = true;
165169
}
166170
if ($input->getOption(self::INPUT_KEY_MEDIA_BACKUP_FILE)) {

0 commit comments

Comments
 (0)