aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd
diff options
context:
space:
mode:
authorMike McQuaid2014-09-02 11:49:53 +0100
committerMike McQuaid2014-09-02 11:50:00 +0100
commitd894d44d8e25c75eabbe8e52f79008eb42d236cf (patch)
treee2cecd2ba53e9d00ae7fecf24e50583d207ec3b9 /Library/Homebrew/cmd
parent9a2df07028b08b1104e6bb3a55a931f8d35c635c (diff)
downloadhomebrew-d894d44d8e25c75eabbe8e52f79008eb42d236cf.tar.bz2
audit: fix line number typo.
Closes #32031.
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 1bd324922..6dd70cd67 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+1, lineno) }
+ text.split("\n").each_with_index {|line, lineno| audit_line(line, lineno+1) }
audit_installed
end