Remove misleading total row from `--profile` table (#9039)
Merge pull request 9039
This commit is contained in:
parent
7c28eb5f7e
commit
6077ed6a01
|
@ -14,15 +14,12 @@ module Jekyll
|
|||
|
||||
rows = table_rows.dup
|
||||
header = rows.shift
|
||||
footer = rows.pop
|
||||
output = +"\n"
|
||||
|
||||
table = Terminal::Table.new do |t|
|
||||
t << header
|
||||
t << :separator
|
||||
rows.each { |row| t << row }
|
||||
t << :separator
|
||||
t << footer
|
||||
t.style = TERMINAL_TABLE_STYLES
|
||||
t.align_column(0, :left)
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue