From 5183a337c7f5d54169fcec41048bf2ff18b45f6e Mon Sep 17 00:00:00 2001 From: MUI bot <2109932+Janpot@users.noreply.github.com> Date: Fri, 15 Sep 2023 10:06:27 +0200 Subject: [PATCH] Update dangerfile.ts --- dangerfile.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/dangerfile.ts b/dangerfile.ts index 46e886243b3ff6..ef5b39acff3744 100644 --- a/dangerfile.ts +++ b/dangerfile.ts @@ -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'));