fix: 0 in env value
This commit is contained in:
parent
76f7cd08ee
commit
a185787044
@ -1413,7 +1413,6 @@ class ApplicationDeploymentJob implements ShouldQueue, ShouldBeEncrypted
|
|||||||
$environment_variables->push("SOURCE_COMMIT=unknown");
|
$environment_variables->push("SOURCE_COMMIT=unknown");
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
ray($environment_variables->all());
|
|
||||||
return $environment_variables->all();
|
return $environment_variables->all();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -108,7 +108,7 @@ class EnvironmentVariable extends Model
|
|||||||
}
|
}
|
||||||
private function get_real_environment_variables(?string $environment_variable = null, $resource = null)
|
private function get_real_environment_variables(?string $environment_variable = null, $resource = null)
|
||||||
{
|
{
|
||||||
if (!$environment_variable || !$resource) {
|
if ((is_null($environment_variable) && $environment_variable == '') || is_null($resource)) {
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
$environment_variable = trim($environment_variable);
|
$environment_variable = trim($environment_variable);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user