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