audit: fix index method for ruby 1.8
Per https://github.com/Homebrew/homebrew/pull/40472#issuecomment-110357915
This commit is contained in:
		
							parent
							
								
									1cc6fa2e05
								
							
						
					
					
						commit
						ea167399a2
					
				@ -56,7 +56,7 @@ end
 | 
			
		||||
class FormulaText
 | 
			
		||||
  def initialize path
 | 
			
		||||
    @text = path.open("rb", &:read)
 | 
			
		||||
    @lines = @text.lines
 | 
			
		||||
    @lines = @text.lines.to_a
 | 
			
		||||
  end
 | 
			
		||||
 | 
			
		||||
  def without_patch
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user