summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
});
});
});