10000 Rakefile: workaround Ruby 3.3.5 bug · ruby/rexml@e1276ba · GitHub
[go: up one dir, main page]

Skip to content

Commit e1276ba

Browse files
committed
Rakefile: workaround Ruby 3.3.5 bug
1 parent 6246ba1 commit e1276ba

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Rakefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ task :default => :test
1414
namespace :warning do
1515
desc "Treat warning as error"
1616
task :error do
17+
require "json" # workaround https://bugs.ruby-lang.org/issues/20713
1718
def Warning.warn(*message, **)
1819
super
1920
raise "Treat warning as error:\n" + message.join("\n")

0 commit comments

Comments
 (0)
0