audit: fix line number typo.

Closes Homebrew/homebrew#32031.
This commit is contained in:
Mike McQuaid 2014-09-02 11:49:53 +01:00
parent fe1bf57a15
commit d3150f3a06

View File

@ -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