Skip to content

Commit

Permalink
Fix mistake in preactjs#50
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker authored Jun 21, 2021
1 parent c410a2d commit 5cd02f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ function markdownTable(rows) {
let columnLength = firstRow.length;

// Hide `Change` column if they are all `0 B`
if (columnLength === 3 &rows.every(columns => columns[2] === '0 B')) {
if (columnLength === 3 && rows.every(columns => columns[2] === '0 B')) {
columnLength -= 1;
for (const columns of rows) {
columns.pop();
Expand Down

0 comments on commit 5cd02f3

Please sign in to comment.