From b4e071af58cd08177feebd07b4e40fb52179d175 Mon Sep 17 00:00:00 2001 From: Nobuyoshi Nakada Date: Sat, 8 Aug 2026 16:13:51 +0900 Subject: [PATCH] `rdoc:coverage` task should not terminate the entire Rake process --- lib/rdoc/task.rb | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/rdoc/task.rb b/lib/rdoc/task.rb index 979c36254d..eaf5b36b49 100644 --- a/lib/rdoc/task.rb +++ b/lib/rdoc/task.rb @@ -244,6 +244,8 @@ def define $stderr.puts "rdoc #{args.join ' '}" if Rake.application.options.trace RDoc::RDoc.new.document args + rescue SystemExit => exit + raise "RDoc coverage is incomplete" unless exit.success? end desc server_task_description