aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorJack Nagel2014-09-01 23:24:57 -0500
committerJack Nagel2014-09-01 23:25:16 -0500
commit1b2a038275f77dbb63ed985de1839e07e17b0662 (patch)
tree42ac82c8c30f72e5366723cc29d3823e98048672 /Library/Homebrew/cmd
parentb65432ba834a709edce58d0e408ff85eb23e0dbb (diff)
downloadhomebrew-1b2a038275f77dbb63ed985de1839e07e17b0662.tar.bz2
audit: fix line number off-by-one
Diffstat (limited to 'Library/Homebrew/cmd')
-rw-r--r--Library/Homebrew/cmd/audit.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/audit.rb b/Library/Homebrew/cmd/audit.rb
index 032075eef..1bd324922 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, lineno) }
+ text.split("\n").each_with_index { |line, lineno| audit_line(line+1, lineno) }
audit_installed
end