Fix issue with saving environment variables in ApplicationDeploymentJob.php

This commit is contained in:
Andras Bacsai 2024-04-24 14:32:34 +02:00
parent 51e918be6d
commit 5a8ea15c4f

View File

@ -24,7 +24,6 @@
use Illuminate\Queue\InteractsWithQueue;
use Illuminate\Queue\SerializesModels;
use Illuminate\Support\Collection;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Sleep;
use Illuminate\Support\Str;
use RuntimeException;
@ -744,7 +743,6 @@ private function save_environment_variables()
$envs = $envs->sort(function ($a, $b) {
return strpos($a, '$') === false ? -1 : 1;
});
Log::info("message", $envs->implode("\n"));
} else {
$this->env_filename = ".env";
foreach ($this->application->environment_variables as $env) {