[rubygems/rubygems] Remove no longer necessary code

b7d2de2ba8
This commit is contained in:
David Rodríguez 2024-01-17 12:43:35 +01:00 committed by Hiroshi SHIBATA
parent 1e519abe21
commit 6bd997ecfd

View file

@ -84,14 +84,7 @@ Use --overwrite to force rebuilding of documentation.
FileUtils.rm_rf File.join(spec.doc_dir, "rdoc")
end
begin
doc.generate
rescue Errno::ENOENT => e
match = e.message.include?(" - ")
alert_error "Unable to document #{spec.full_name}, " \
" #{match.post_match} is missing, skipping"
terminate_interaction 1 if specs.length == 1
end
doc.generate
end
end
end