Skip to content

Commit

Permalink
Merge pull request #61 from fisker/patch-1
Browse files Browse the repository at this point in the history
Fix mistake in  #50
  • Loading branch information
developit authored Jun 21, 2021
2 parents 033be1e + 5cd02f3 commit eb31ee6
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 eb31ee6

Please sign in to comment.