Skip to content

Commit

Permalink
Merge pull request #361 from mvz/fix-rubocop-offense
Browse files Browse the repository at this point in the history
Fix new Style/SuperArguments offense
  • Loading branch information
mvz authored Jun 23, 2024
2 parents e658b7c + 90c76a2 commit d5602a0
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 d5602a0

Please sign in to comment.