Merge pull request #1246 from ilovezfs/glide_home-cleanup

cleanup: remove GLIDE_HOME cache directories
This commit is contained in:
ilovezfs 2016-10-08 17:40:08 -07:00 committed by GitHub
commit f71e4a7e0e

View File

@ -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