qmk fileformat: only print complaints, and fix some of them (#11278)
				
					
				
			This commit is contained in:
		
							parent
							
								
									3e3f93c971
								
							
						
					
					
						commit
						6a292e11d3
					
				
					 5 changed files with 10 additions and 10 deletions
				
			
		| 
						 | 
				
			
			@ -9,5 +9,5 @@ import subprocess
 | 
			
		|||
def fileformat(cli):
 | 
			
		||||
    """Run several general formatting commands.
 | 
			
		||||
    """
 | 
			
		||||
    dos2unix = subprocess.run(['bash', '-c', 'git ls-files -z | xargs -0 dos2unix'])
 | 
			
		||||
    dos2unix = subprocess.run(['bash', '-c', 'git ls-files -z | xargs -0 dos2unix'], stdout=subprocess.DEVNULL)
 | 
			
		||||
    return dos2unix.returncode
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue