mirror of
https://github.com/ruby/ruby.git
synced 2025-08-16 05:59:00 +02:00
parent
1e519abe21
commit
6bd997ecfd
1 changed files with 1 additions and 8 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue