Skip to content

Commit

Permalink
Try another way
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 d27cd84 commit ac5421a
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion spec-insert/lib/renderers/table_renderer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,8 +27,10 @@ def initialize(columns, rows, pretty:)

# @return [Array<String>]
def render_lines
\n
calculate_column_widths if @pretty
\n [render_column, render_divider] \n + render_rows
[render_column, render_divider] + render_rows
\n
end

private
Expand Down

0 comments on commit ac5421a

Please sign in to comment.