Calculate actual delta in usage

This commit is contained in:
tueksta 2019-02-06 18:25:46 +01:00 committed by GitHub
parent 3349da1c1b
commit b9b1b24e4e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -321,7 +321,7 @@ module Homebrew
yield
end
@disk_cleanup_size += disk_usage
@disk_cleanup_size += disk_usage - path.disk_usage
end
def cleanup_lockfiles(*lockfiles)