Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/git/git-scm.com.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2022-10-05 22:03:57 +0300
committerJeff King <peff@peff.net>2022-10-05 22:03:57 +0300
commit577fe33138c1c8a635266aa7143d044b46ed8806 (patch)
treeec87b1650667b2a210f4b042195e229b914593c1 /lib
parent93d98bc88bd629478b67072c608116f61feac57b (diff)
one more pass of rubocop --autocorrect
Looks like I managed to introduce 2 new problems in 2 commits.
Diffstat (limited to 'lib')
-rw-r--r--lib/tasks/index.rake2
1 files changed, 1 insertions, 1 deletions
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"))