Skip to content

Commit 66397de

Browse files
committed
Fix MethodDeprecatedError on rmtree
1 parent bdea4cc commit 66397de

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

Formula/elasticsearch-full.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ def install
3232

3333
# Move config files into etc
3434
(etc/"elasticsearch").install Dir[libexec/"config/*"]
35-
(libexec/"config").rmtree
35+
FileUtils.rm_r(libexec/"config")
3636

3737
Dir.foreach(libexec/"bin") do |f|
3838
next if f == "." || f == ".." || !File.extname(f).empty?

0 commit comments

Comments
 (0)