Skip to content
Snippets Groups Projects
Commit 0bca7ad9 authored by Mike McQuaid's avatar Mike McQuaid
Browse files
parent 5d39a9df
No related branches found
No related tags found
No related merge requests found
......@@ -30,7 +30,7 @@ module DiskUsageExtension
@file_count = 0
@disk_usage = 0
self.find do |f|
if !f.directory? && f.basename.to_s != ".DS_Store"
if !f.directory? && !f.symlink? && f.basename.to_s != ".DS_Store"
@file_count += 1
@disk_usage += f.size
end
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment