summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Barbosa <nadiabarbosa@me.com>2019-04-18 09:48:06 -0700
committerNadia Barbosa <nadiabarbosa@me.com>2019-04-18 09:48:06 -0700
commitf3292022db5bebd4bb011a3d68463b623df3ec88 (patch)
tree330a41eab6d6df2352e1afb45a990243a22d43cc
parentfd4845867fd256040c022b99fae3e005bf9f0fc1 (diff)
downloadqtlocation-mapboxgl-f3292022db5bebd4bb011a3d68463b623df3ec88.tar.gz
oops
-rwxr-xr-xscripts/check_binary_size.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/check_binary_size.js b/scripts/check_binary_size.js
index 8a8b337a0d..0ae979f527 100755
--- a/scripts/check_binary_size.js
+++ b/scripts/check_binary_size.js
@@ -62,10 +62,10 @@ github.apps.createInstallationToken({installation_id: SIZE_CHECK_APP_INSTALLATIO
getPriorSize().then(prior => {
const title = (() => {
if (prior) {
- console.log("change = size - prior");
- console.log(`${change} = ${size} - ${prior}`)
const change = size - prior;
const percent = (change / prior) * 100;
+ console.log("change = size - prior");
+ console.log(`${change} = ${size} - ${prior}`)
return `${change >= 0 ? '+' : ''}${prettyBytes(change)} ${percent.toFixed(3)}% (${prettyBytes(size)})`;
} else {
return prettyBytes(size);