aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew')
-rw-r--r--Library/Homebrew/diagnostic.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/Library/Homebrew/diagnostic.rb b/Library/Homebrew/diagnostic.rb
index 8f158ddd8..62e916ce1 100644
--- a/Library/Homebrew/diagnostic.rb
+++ b/Library/Homebrew/diagnostic.rb
@@ -78,8 +78,8 @@ module Homebrew
end
end
- def inject_file_list(list, str)
- list.inject(str) { |s, f| s << " #{f}\n" }
+ def inject_file_list(list, string)
+ list.inject(string) { |a, e| a << " #{e}\n" }
end
############# END HELPERS