We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d06df60 commit 69606b9Copy full SHA for 69606b9
src/console/controllers/MigrateController.php
@@ -202,7 +202,6 @@ public function beforeAction($action): bool
202
}
203
204
$this->migrationPath = $this->getMigrator()->migrationPath;
205
- FileHelper::createDirectory($this->migrationPath);
206
207
208
// Make sure that the project config YAML exists in case any migrations need to check incoming YAML values
@@ -211,8 +210,12 @@ public function beforeAction($action): bool
211
210
$projectConfig->regenerateExternalConfig();
212
213
214
- if (!$this->traitBeforeAction($action)) {
215
- return false;
+ try {
+ if (!parent::beforeAction($action)) {
+ return false;
216
+ }
217
+ } catch (InvalidConfigException $e) {
218
+ return true;
219
220
221
return true;
0 commit comments