Skip to content

Commit

Permalink
Fix Rubocop violations
Browse files Browse the repository at this point in the history
  • Loading branch information
iangmaia committed Dec 13, 2024
1 parent cdb6b71 commit a3a00bd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tools/extract_release_notes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ def replace_pr_link_with_markdown_link(string)
case mode
when :strip_pr_links
formatted_lines = release_lines
.map { |l| l.gsub(/ \[.*\]$/, '') }
.map { |l| l.gsub(/ \[.*\]$/, '') }
when :keep_pr_links
# The PR "links" are not canonical markdown links. That's not a problem on
# GitHub where they be automatically parsed into links to the corresponding
Expand All @@ -72,7 +72,7 @@ def replace_pr_link_with_markdown_link(string)
# It's probably best to update the convention in writing the release notes
# but in the meantime let's compensate with more automation.
formatted_lines = release_lines
.map { |l| replace_pr_link_with_markdown_link(l) }
.map { |l| replace_pr_link_with_markdown_link(l) }
end

# It would be good to either add overriding of the file where the parsed
Expand Down

0 comments on commit a3a00bd

Please sign in to comment.