diff options
author | Jeff King <peff@peff.net> | 2022-10-05 22:03:57 +0300 |
---|---|---|
committer | Jeff King <peff@peff.net> | 2022-10-05 22:03:57 +0300 |
commit | 577fe33138c1c8a635266aa7143d044b46ed8806 (patch) | |
tree | ec87b1650667b2a210f4b042195e229b914593c1 | |
parent | 93d98bc88bd629478b67072c608116f61feac57b (diff) |
one more pass of rubocop --autocorrect
Looks like I managed to introduce 2 new problems in 2 commits.
-rw-r--r-- | Gemfile | 2 | ||||
-rw-r--r-- | lib/tasks/index.rake | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -6,9 +6,9 @@ ruby "3.1.2" gem "rails", "~> 6.0" # hacks for rails6 + ruby 3.1 -gem 'net-smtp', require: false gem 'net-imap', require: false gem 'net-pop', require: false +gem 'net-smtp', require: false gem "asciidoctor", "~> 2.0.0" gem "elasticsearch", "2.0.2" diff --git a/lib/tasks/index.rake b/lib/tasks/index.rake index 0e443542..85ca66bf 100644 --- a/lib/tasks/index.rake +++ b/lib/tasks/index.rake @@ -228,7 +228,7 @@ def index_doc(filter_tags, doc_list, get_content) section = content.match(/^[a-z0-9-]+\(([1-9])\)/)[1] match = content.match(/NAME\n----\n\S+ - (.*)$/) if match - "linkgit:#{cmd}[#{section}]::\n\t#{attr == 'deprecated' ? '(deprecated) ' : ''}#{match[1]}\n" + "linkgit:#{cmd}[#{section}]::\n\t#{attr == 'deprecated' ? '(deprecated) ' : ''}#{match[1]}\n" end end list.merge!("Documentation/cmds-#{category}.txt" => links.compact.join("\n")) |