aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cleanup.rb
diff options
context:
space:
mode:
Diffstat (limited to 'Library/Homebrew/cleanup.rb')
-rw-r--r--Library/Homebrew/cleanup.rb7
1 files changed, 3 insertions, 4 deletions
diff --git a/Library/Homebrew/cleanup.rb b/Library/Homebrew/cleanup.rb
index f7db1c11f..615a7ce9e 100644
--- a/Library/Homebrew/cleanup.rb
+++ b/Library/Homebrew/cleanup.rb
@@ -10,10 +10,9 @@ module Homebrew
cleanup_cellar
cleanup_cache
cleanup_logs
- unless ARGV.dry_run?
- cleanup_lockfiles
- rm_ds_store
- end
+ return if ARGV.dry_run?
+ cleanup_lockfiles
+ rm_ds_store
end
def self.update_disk_cleanup_size(path_size)