test-bot: use ruby method instead of shellout to remove files
This commit is contained in:
parent
896ba576cc
commit
a6c5fca3a9
@ -967,7 +967,7 @@ module Homebrew
|
||||
end
|
||||
end
|
||||
|
||||
safe_system "rm -rf #{HOMEBREW_CACHE}/*" if ARGV.include? "--clean-cache"
|
||||
HOMEBREW_CACHE.children.each(&:rmtree) if ARGV.include? "--clean-cache"
|
||||
|
||||
Homebrew.failed = any_errors
|
||||
end
|
||||
|
Loading…
x
Reference in New Issue
Block a user