Merge pull request #1246 from ilovezfs/glide_home-cleanup
cleanup: remove GLIDE_HOME cache directories
This commit is contained in:
commit
f71e4a7e0e
@ -50,7 +50,7 @@ module Homebrew
|
||||
cleanup_path(path) { path.unlink }
|
||||
next
|
||||
end
|
||||
if %w[java_cache npm_cache].include?(path.basename.to_s) && path.directory?
|
||||
if %w[glide_home java_cache npm_cache].include?(path.basename.to_s) && path.directory?
|
||||
cleanup_path(path) { FileUtils.rm_rf path }
|
||||
next
|
||||
end
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user