Skip to content

Commit

Permalink
Add line breaks correctly.
Browse files Browse the repository at this point in the history
Signed-off-by: Archer <[email protected]>
  • Loading branch information
Naarcha-AWS committed Jan 17, 2025
1 parent 8dcf38a commit daec3e4
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion spec-insert/lib/renderers/table_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ def initialize(columns, rows, pretty:)
# @return [Array<String>]
def render_lines
calculate_column_widths if @pretty
[render_column, render_divider] + render_rows
["\n", render_column, render_divider] + render_rows + ["\n"] + render_rows
end

private
Expand Down
2 changes: 0 additions & 2 deletions spec-insert/lib/renderers/templates/spec_insert.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,5 @@
{{{key}}}: {{{value}}}
{{/arguments}}
-->

{{{content}}}

<!-- spec_insert_end -->

0 comments on commit daec3e4

Please sign in to comment.