mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	[Nostromo] Apply Mess Detector recommendations
This commit is contained in:
		
							parent
							
								
									0f89f298c6
								
							
						
					
					
						commit
						eed25f317b
					
				@ -90,11 +90,10 @@ class ListCommand extends AbstractCommand
 | 
			
		||||
                        throw new RuntimeException(sprintf('Unable to retrieve releases from host "%s"', $host), 80);
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    $releases = [];
 | 
			
		||||
                    if (trim($process->getOutput()) != '') {
 | 
			
		||||
                        $releases = explode(PHP_EOL, trim($process->getOutput()));
 | 
			
		||||
                        rsort($releases);
 | 
			
		||||
                    } else {
 | 
			
		||||
                        $releases = [];
 | 
			
		||||
                    }
 | 
			
		||||
 | 
			
		||||
                    if (count($releases) == 0) {
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user