Skip to content

Commit 6da6bf9

Browse files
committed
test_bot/junit: require rexml/document in initialize method
This should fix CI failures caused by #21506 Signed-off-by: botantony <antonsm21@gmail.com>
1 parent cf6e864 commit 6da6bf9

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

Library/Homebrew/test_bot/junit.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ module TestBot
88
class Junit
99
sig { params(tests: T::Array[Test]).void }
1010
def initialize(tests)
11+
require "rexml/document"
12+
1113
@tests = tests
1214
@xml_document = T.let(nil, T.nilable(REXML::Document))
1315
end

0 commit comments

Comments
 (0)