mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 00:50:18 +01:00 
			
		
		
		
	Fixed a bug in the builtin ChangeBranchTask.php
This commit is contained in:
		
							parent
							
								
									a97d172a6d
								
							
						
					
					
						commit
						59574711c1
					
				@ -63,8 +63,7 @@ class ChangeBranchTask extends AbstractTask
 | 
			
		||||
     */
 | 
			
		||||
    public function run()
 | 
			
		||||
    {
 | 
			
		||||
    	$scmConfig = $this->getConfig()->general('scm', array());
 | 
			
		||||
        switch ((isset($scmConfig['type']) ? $scmConfig['type'] : false)) {
 | 
			
		||||
        switch ($this->getConfig()->general('scm')) {
 | 
			
		||||
            case 'git':
 | 
			
		||||
            	if ($this->getParameter('_changeBranchRevert', false)) {
 | 
			
		||||
            		$command = 'git checkout ' . self::$startingBranch;
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user