Skip to content

Commit

Permalink
Remove excess newlines
Browse files Browse the repository at this point in the history
  • Loading branch information
saturnflyer committed Jun 8, 2024
1 parent 71897da commit b860339
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/reissue/printer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,9 @@ def versions
changes = data.fetch("changes") do
{}
end
<<~MARKDOWN
<<~MARKDOWN.squeeze("\n")
## #{version} - #{date}
#{changes.map { |section, changes| format_section(section, changes) }.join("\n")}
MARKDOWN
end.join("\n")
Expand Down

0 comments on commit b860339

Please sign in to comment.