Fix issue with logging environment variables in ApplicationDeploymentJob.php
This commit is contained in:
parent
5a8ea15c4f
commit
6e7e4250e6
@ -24,6 +24,7 @@
|
||||
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;
|
||||
@ -743,6 +744,7 @@ 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user