update-report: remove cask dir after migration.

This will hang around otherwise due to e.g. running `bundle install` in
here once.
This commit is contained in:
Mike McQuaid 2016-09-18 21:42:44 +01:00
parent 8e9a9b6428
commit d0204207ed

View File

@ -234,7 +234,7 @@ module Homebrew
unremovable_paths = [] unremovable_paths = []
extra_remove_paths = [".git", "Library/Locks", "Library/Taps", extra_remove_paths = [".git", "Library/Locks", "Library/Taps",
"Library/Homebrew/test"] "Library/Homebrew/cask", "Library/Homebrew/test"]
(repo_files + extra_remove_paths).each do |file| (repo_files + extra_remove_paths).each do |file|
path = Pathname.new "#{HOMEBREW_REPOSITORY}/#{file}" path = Pathname.new "#{HOMEBREW_REPOSITORY}/#{file}"
begin begin