From d59fa889333efe80d26339fa9198c2c517e66914 Mon Sep 17 00:00:00 2001 From: Oliver Stark Date: Wed, 13 May 2020 12:21:20 +0200 Subject: [PATCH] remove --force for copy/db/down when triggered via copy/all/down --- src/Actions/AllDownAction.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Actions/AllDownAction.php b/src/Actions/AllDownAction.php index 17e6437..f8a005d 100644 --- a/src/Actions/AllDownAction.php +++ b/src/Actions/AllDownAction.php @@ -30,7 +30,7 @@ public function run(string $config = null): int return ExitCode::UNSPECIFIED_ERROR; } - if (\Craft::$app->runAction('copy/db/down', ['interactive' => true, 'force' => true]) !== 0) { + if (\Craft::$app->runAction('copy/db/down', ['interactive' => true]) !== 0) { $this->errorBlock('Failed to copy the database'); return ExitCode::UNSPECIFIED_ERROR; }