diff options
-rwxr-xr-x | scripts/check_binary_size.js | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/scripts/check_binary_size.js b/scripts/check_binary_size.js index 42cb451acf..e5d6e9405e 100755 --- a/scripts/check_binary_size.js +++ b/scripts/check_binary_size.js @@ -66,7 +66,13 @@ github.apps.createInstallationToken({installation_id: SIZE_CHECK_APP_INSTALLATIO const title = (() => { if (prior) { const change = size - prior; - console.log(`change: ${size} - ${prior} = ${change}`) + var textDump = ` + prior = ${prior} + {size} = ${size} + change = ${change} + ` + console.log(textDump); + const percent = (change / prior) * 100; return `${change >= 0 ? '+' : ''}${prettyBytes(change)} ${percent.toFixed(3)}% (${prettyBytes(size)})`; } else { |