Skip to content

Commit 6bd997e

Browse files
deivid-rodriguezhsbt
authored andcommitted
[rubygems/rubygems] Remove no longer necessary code
rubygems/rubygems@b7d2de2ba8
1 parent 1e519ab commit 6bd997e

File tree

1 file changed

+1
-8
lines changed

1 file changed

+1
-8
lines changed

lib/rubygems/commands/rdoc_command.rb

Lines changed: 1 addition & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -84,14 +84,7 @@ def execute
8484
FileUtils.rm_rf File.join(spec.doc_dir, "rdoc")
8585
end
8686

87-
begin
88-
doc.generate
89-
rescue Errno::ENOENT => e
90-
match = e.message.include?(" - ")
91-
alert_error "Unable to document #{spec.full_name}, " \
92-
" #{match.post_match} is missing, skipping"
93-
terminate_interaction 1 if specs.length == 1
94-
end
87+
doc.generate
9588
end
9689
end
9790
end

0 commit comments

Comments
 (0)