aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rw-r--r--Library/Homebrew/extend/pathname.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/Library/Homebrew/extend/pathname.rb b/Library/Homebrew/extend/pathname.rb
index 555ca7f35..7bdeb2188 100644
--- a/Library/Homebrew/extend/pathname.rb
+++ b/Library/Homebrew/extend/pathname.rb
@@ -28,7 +28,7 @@ module DiskUsageExtension
def compute_disk_usage
if self.directory?
@file_count, @disk_usage = [0, 0]
- self.find.each do |f|
+ self.find do |f|
if !File.directory?(f) and !f.to_s.match(/\.DS_Store/)
@file_count += 1
@disk_usage += File.size(f)