Skip to content

Commit

Permalink
Code format urls in release notes
Browse files Browse the repository at this point in the history
  • Loading branch information
nobodywasishere committed May 14, 2024
1 parent dde991c commit 1ae626f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions scripts/generate_release_notes.rb
Original file line number Diff line number Diff line change
Expand Up @@ -44,13 +44,13 @@ def compare_json_files(file_path)

if added.any?
file.puts "### Added"
file.puts added.map { |item| "- **#{item['t']}** (#{item['u']})" }.join("\n")
file.puts added.map { |item| "- **#{item['t']}** (`#{item['u']}`)" }.join("\n")
has_changes = true
end

if removed.any?
file.puts "\n### Removed"
file.puts removed.map { |item| "- **#{item['t']}** (#{item['u']})" }.join("\n")
file.puts removed.map { |item| "- **#{item['t']}** (`#{item['u']}`)" }.join("\n")
has_changes = true
end

Expand Down

0 comments on commit 1ae626f

Please sign in to comment.