From d3150f3a06bde15c7371f18f2bae2d9dd576fc93 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Tue, 2 Sep 2014 11:49:53 +0100 Subject: [PATCH] audit: fix line number typo. Closes Homebrew/homebrew#32031. --- Library/Homebrew/cmd/audit.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb index 1bd3249224..6dd70cd67a 100644 --- a/Library/Homebrew/cmd/audit.rb +++ b/Library/Homebrew/cmd/audit.rb @@ -567,7 +567,7 @@ class FormulaAuditor audit_conflicts audit_patches audit_text - text.split("\n").each_with_index { |line, lineno| audit_line(line+1, lineno) } + text.split("\n").each_with_index {|line, lineno| audit_line(line, lineno+1) } audit_installed end