summaryrefslogtreecommitdiff
path: root/lib/rubygems/commands/rdoc_command.rb
diff options
context:
space:
mode:
authorHiroshi SHIBATA <[email protected]>2024-01-10 17:02:32 +0900
committerHiroshi SHIBATA <[email protected]>2024-01-11 13:51:52 +0900
commitea31461ba0cd9eb2fb68fd5b13266e75c343a471 (patch)
treebf850e0cfc181772329afd72e3bd45bfc1c759bc /lib/rubygems/commands/rdoc_command.rb
parent443e4178859ed4d2789c3e5c982647a8e10d7021 (diff)
[rubygems/rubygems] bin/rubocop -A --only Style/StringLiterals
https://github.com/rubygems/rubygems/commit/f25013bcc0
Diffstat (limited to 'lib/rubygems/commands/rdoc_command.rb')
-rw-r--r--lib/rubygems/commands/rdoc_command.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rubygems/commands/rdoc_command.rb b/lib/rubygems/commands/rdoc_command.rb
index 2303e16424..b9470411ef 100644
--- a/lib/rubygems/commands/rdoc_command.rb
+++ b/lib/rubygems/commands/rdoc_command.rb
@@ -87,7 +87,7 @@ Use --overwrite to force rebuilding of documentation.
begin
doc.generate
rescue Errno::ENOENT => e
- match = e.message.include?(' - ')
+ 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