Skip to content
Snippets Groups Projects
Commit 0c35274b authored by Jack Nagel's avatar Jack Nagel
Browse files

cleanup: rename method for consistency

parent 5515d359
No related branches found
No related tags found
No related merge requests found
......@@ -23,8 +23,9 @@ module Homebrew extend self
# Don't complain about directories from DIY installs
end
end
clean_cache
# seems like a good time to do some additional cleanup
cleanup_cache
unless ARGV.dry_run?
Homebrew.prune
rm_DS_Store
......@@ -58,7 +59,7 @@ module Homebrew extend self
end
end
def clean_cache
def cleanup_cache
return unless HOMEBREW_CACHE.directory?
HOMEBREW_CACHE.children.each do |pn|
next unless pn.file?
......
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