mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Locking releases.
This commit is contained in:
		
							parent
							
								
									1e65281ca3
								
							
						
					
					
						commit
						a41d8d0be9
					
				@ -35,7 +35,7 @@ class ReleasesCommand extends AbstractCommand implements RequiresEnvironment
 | 
			
		||||
        $subcommand = $this->getConfig()->getArgument(1);
 | 
			
		||||
        $lockFile = '.mage/' . $this->getConfig()->getEnvironment() . '.lock';
 | 
			
		||||
        if (file_exists($lockFile) && ($subcommand == 'rollback')) {
 | 
			
		||||
            Console::output('<red>This environment is locked!</red>', 0, 2);
 | 
			
		||||
            Console::output('<red>This environment is locked!</red>', 1, 2);
 | 
			
		||||
            return;
 | 
			
		||||
        }
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user