mirror of
				https://github.com/hauke68/Magallanes.git
				synced 2025-11-04 09:00:18 +01:00 
			
		
		
		
	Avoid duplicating output when verbose option is turned on
This commit is contained in:
		
							parent
							
								
									67e00bca59
								
							
						
					
					
						commit
						654753b70f
					
				@ -181,6 +181,7 @@ class Console
 | 
				
			|||||||
    {
 | 
					    {
 | 
				
			||||||
        self::log(strip_tags($message));
 | 
					        self::log(strip_tags($message));
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					        if (!self::$verboseLogEnabled) {
 | 
				
			||||||
            self::$screenBuffer .= str_repeat("\t", $tabs)
 | 
					            self::$screenBuffer .= str_repeat("\t", $tabs)
 | 
				
			||||||
                . strip_tags($message)
 | 
					                . strip_tags($message)
 | 
				
			||||||
                . str_repeat(PHP_EOL, $newLine);
 | 
					                . str_repeat(PHP_EOL, $newLine);
 | 
				
			||||||
@ -191,6 +192,7 @@ class Console
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
            echo $output;
 | 
					            echo $output;
 | 
				
			||||||
        }
 | 
					        }
 | 
				
			||||||
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
     * Executes a Command on the Shell
 | 
					     * Executes a Command on the Shell
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
		Reference in New Issue
	
	Block a user