cleanup: remove SCM directories recursively.
This commit is contained in:
parent
04b350dce5
commit
15c3fb32b2
@ -73,7 +73,7 @@ module Homebrew
|
|||||||
if path.file?
|
if path.file?
|
||||||
cleanup_path(path) { path.unlink }
|
cleanup_path(path) { path.unlink }
|
||||||
elsif path.directory? && path.to_s.include?("--")
|
elsif path.directory? && path.to_s.include?("--")
|
||||||
cleanup_path(path) { path.rmdir }
|
cleanup_path(path) { FileUtils.rm_rf path }
|
||||||
end
|
end
|
||||||
next
|
next
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user