Fix issue with sorting environment variables in ApplicationDeploymentJob.php
This commit is contained in:
parent
98c2056f53
commit
10356a4376
@ -767,6 +767,9 @@ private function save_environment_variables()
|
||||
$envs->push("SOURCE_COMMIT=unknown");
|
||||
}
|
||||
}
|
||||
$envs = $envs->sort(function ($a, $b) {
|
||||
return strpos($a, '$') === false ? -1 : 1;
|
||||
});
|
||||
}
|
||||
|
||||
if ($envs->isEmpty()) {
|
||||
|
Loading…
Reference in New Issue
Block a user