Skip to content

Commit

Permalink
Fix new Style/SuperArguments offense
Browse files Browse the repository at this point in the history
  • Loading branch information
mvz committed Jun 23, 2024
1 parent e658b7c commit 90c76a2
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions yard-plugin/setup.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ module LocalLinkHelper
# Rewrites links to (assumed local) markdown files so they're processed as
# {file: } directives.
def resolve_links(text)
text = text.gsub(%r{<a href="([^"]*.md)">([^<]*)</a>}, '{file:\1 \2}')
super text
super text.gsub(%r{<a href="([^"]*.md)">([^<]*)</a>}, '{file:\1 \2}')
end
end

Expand Down

0 comments on commit 90c76a2

Please sign in to comment.