v1.2.2 #5

Merged
anthony merged 4 commits from dev into master 2023-08-13 03:04:05 +00:00
Showing only changes of commit 1f7816c917 - Show all commits

View File

@ -229,6 +229,9 @@ class Processor
*/
protected function initEnv(): void
{
if (!isset($this->envFile)) {
return;
}
$content = file_get_contents(FileSystem::normalizePath($this->envFile));
$content = json_decode($content, flags: JSON_THROW_ON_ERROR);
if (!property_exists($content, 'environment') || empty($content?->environment)) {