From b9447a17c7d15734cdc76c7f1e52df0f248c364d Mon Sep 17 00:00:00 2001 From: Artyom Osepyan Date: Mon, 29 Sep 2025 17:32:29 +0300 Subject: [PATCH] fix: prevent crash after removing laravel-project-initializator Refs: https://github.com/RonasIT/laravel-project-initializator/issues/39#event-19973612254 --- src/Commands/InitCommand.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Commands/InitCommand.php b/src/Commands/InitCommand.php index 3e33103..f169937 100644 --- a/src/Commands/InitCommand.php +++ b/src/Commands/InitCommand.php @@ -214,12 +214,12 @@ public function handle(): void $this->setupComposerHooks(); + $this->setAutoDocContactEmail($this->codeOwnerEmail); + foreach ($this->shellCommands as $shellCommand) { shell_exec("{$shellCommand} --ansi"); } - $this->setAutoDocContactEmail($this->codeOwnerEmail); - Artisan::call('migrate'); }