diff options
author | Nadia Barbosa <nadiabarbosa@me.com> | 2019-02-22 14:08:17 -0800 |
---|---|---|
committer | Nadia Barbosa <nadiabarbosa@me.com> | 2019-02-22 14:08:17 -0800 |
commit | 009b1ada2f3dde54c73cdd0c9c946be1d096098f (patch) | |
tree | fb9f1a5b7ac643facc187aa13f1b97039b70f833 | |
parent | 31cb8fcbb6923cbb0a150f8e8939efe4dc1271a9 (diff) | |
download | qtlocation-mapboxgl-upstream/log-ios-binary-size-nb.tar.gz |
Return things from Promise.all()upstream/log-ios-binary-size-nb
-rwxr-xr-x | scripts/publish_binary_size.js | 3 |
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; }); }); }); |