Use each_key instead of keys.each
This commit is contained in:
		
							parent
							
								
									3320b15609
								
							
						
					
					
						commit
						4a52bf1c31
					
				@ -857,7 +857,7 @@ def check_for_linked_keg_only_brews
 | 
			
		||||
    You may wish to `brew unlink` these brews:
 | 
			
		||||
 | 
			
		||||
    EOS
 | 
			
		||||
    warnings.keys.each{ |f| s << "    #{f}\n" }
 | 
			
		||||
    warnings.each_key { |f| s << "    #{f}\n" }
 | 
			
		||||
    s
 | 
			
		||||
  end
 | 
			
		||||
end
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user