diff options
| author | Jack Nagel | 2014-09-01 23:24:57 -0500 |
|---|---|---|
| committer | Jack Nagel | 2014-09-01 23:25:16 -0500 |
| commit | fe1bf57a1547bec01c80f42c75ee2e3d9afa0bb1 (patch) | |
| tree | dff4e2d610c25536da13150bb07f07d96cd3a8d8 | |
| parent | 4743fc1662d2e7ca5f952ff10089edad9e52ff07 (diff) | |
| download | brew-fe1bf57a1547bec01c80f42c75ee2e3d9afa0bb1.tar.bz2 | |
audit: fix line number off-by-one
| -rw-r--r-- | Library/Homebrew/cmd/audit.rb | 2 |
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 |
