audit: fix line number off-by-one

This commit is contained in:
Jack Nagel 2014-09-01 23:24:57 -05:00
parent 4743fc1662
commit fe1bf57a15

View File

@ -567,7 +567,7 @@ class FormulaAuditor
audit_conflicts audit_conflicts
audit_patches audit_patches
audit_text audit_text
text.split("\n").each_with_index { |line, lineno| audit_line(line, lineno) } text.split("\n").each_with_index { |line, lineno| audit_line(line+1, lineno) }
audit_installed audit_installed
end end