Skip to content

Commit

Permalink
Update dangerfile.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Janpot committed Sep 15, 2023
1 parent dfacb22 commit 5183a33
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dangerfile.ts
Original file line number Diff line number Diff line change
Expand Up @@ -163,9 +163,9 @@ async function reportBundleSize() {

const lines = importantChanges.slice(0, maxVisible);

const hiddenChanges = Math.max(0, importantChanges.length - maxVisible);
if (hiddenChanges > 0) {
lines.push(`and [${hiddenChanges} more changes](${detailedComparisonToolpadUrl})`);
const nrOfHiddenChanges = Math.max(0, importantChanges.length - maxVisible);
if (nrOfHiddenChanges > 0) {
lines.push(`and [${nrOfHiddenChanges} more changes](${detailedComparisonToolpadUrl})`);
}

markdown(lines.join('\n'));
Expand Down

0 comments on commit 5183a33

Please sign in to comment.