Skip to content

Commit

Permalink
ci document: fix method forwarding with recent Ruby
Browse files Browse the repository at this point in the history
    ArgumentError: wrong number of arguments (given 2, expected 1) (ArgumentError)
    /home/runner/work/rexml/rexml/Rakefile:18:in `warn'
    /home/runner/work/rexml/rexml/Rakefile:18:in `warn'
    /opt/hostedtoolcache/Ruby/3.3.5/x64/bin/bundle:25:in `load'
    /opt/hostedtoolcache/Ruby/3.3.5/x64/bin/bundle:25:in `<main>'
  • Loading branch information
kou committed Sep 4, 2024
1 parent ad02f99 commit 6246ba1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ task :default => :test
namespace :warning do
desc "Treat warning as error"
task :error do
def Warning.warn(*message)
def Warning.warn(*message, **)
super
raise "Treat warning as error:\n" + message.join("\n")
end
Expand Down

0 comments on commit 6246ba1

Please sign in to comment.