refactor(environment-variables): simplify application build pack check in environment variable handling
This commit is contained in:
@@ -57,7 +57,7 @@ class EnvironmentVariable extends BaseModel
|
||||
|
||||
if (! $found) {
|
||||
$application = Application::find($environment_variable->resourceable_id);
|
||||
if ($application && $application->build_pack !== 'dockerfile') {
|
||||
if ($application) {
|
||||
ModelsEnvironmentVariable::create([
|
||||
'key' => $environment_variable->key,
|
||||
'value' => $environment_variable->value,
|
||||
|
||||
Reference in New Issue
Block a user