diff options
author | Nadia Barbosa <nadiabarbosa@me.com> | 2019-04-18 09:48:06 -0700 |
---|---|---|
committer | Nadia Barbosa <nadiabarbosa@me.com> | 2019-04-18 09:48:06 -0700 |
commit | f3292022db5bebd4bb011a3d68463b623df3ec88 (patch) | |
tree | 330a41eab6d6df2352e1afb45a990243a22d43cc | |
parent | fd4845867fd256040c022b99fae3e005bf9f0fc1 (diff) | |
download | qtlocation-mapboxgl-f3292022db5bebd4bb011a3d68463b623df3ec88.tar.gz |
oops
-rwxr-xr-x | scripts/check_binary_size.js | 4 |
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); |