fix: 0 in env value
This commit is contained in:
parent
76f7cd08ee
commit
a185787044
@ -1413,7 +1413,6 @@ private function generate_environment_variables($ports)
|
||||
$environment_variables->push("SOURCE_COMMIT=unknown");
|
||||
}
|
||||
}
|
||||
ray($environment_variables->all());
|
||||
return $environment_variables->all();
|
||||
}
|
||||
|
||||
|
@ -108,7 +108,7 @@ protected function isShared(): Attribute
|
||||
}
|
||||
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;
|
||||
}
|
||||
$environment_variable = trim($environment_variable);
|
||||
|
Loading…
Reference in New Issue
Block a user