audit: fix line number off-by-one
This commit is contained in:
parent
4743fc1662
commit
fe1bf57a15
@ -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
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user