summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNadia Barbosa <nadiabarbosa@me.com>2019-02-22 14:08:17 -0800
committerNadia Barbosa <nadiabarbosa@me.com>2019-02-22 14:08:17 -0800
commit009b1ada2f3dde54c73cdd0c9c946be1d096098f (patch)
treefb9f1a5b7ac643facc187aa13f1b97039b70f833
parent31cb8fcbb6923cbb0a150f8e8939efe4dc1271a9 (diff)
downloadqtlocation-mapboxgl-upstream/log-ios-binary-size-nb.tar.gz
Return things from Promise.all()upstream/log-ios-binary-size-nb
-rwxr-xr-xscripts/publish_binary_size.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/scripts/publish_binary_size.js b/scripts/publish_binary_size.js
index 98a57cfcc4..f58d717c4b 100755
--- a/scripts/publish_binary_size.js
+++ b/scripts/publish_binary_size.js
@@ -162,9 +162,10 @@ github.apps.createInstallationToken({installation_id: SIZE_CHECK_APP_INSTALLATIO
}).promise();
return Promise.all([firstPromise, secondPromise]).then(data => {
- console.log("Successfully uploaded all binary size metrics to S3");
+ return console.log("Successfully uploaded all binary size metrics to S3");
}).catch(err => {
console.log("Error uploading binary size metrics to S3 " + err.message);
+ return err;
});
});
});