From 50bbe5aa39599e7a90a64a3ef4fc9813d5b65b0b Mon Sep 17 00:00:00 2001 From: Nadia Barbosa Date: Fri, 12 Apr 2019 14:17:41 -0700 Subject: Dump more text --- scripts/check_binary_size.js | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) 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 { -- cgit v1.2.1