We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7f680be commit 0a078d1Copy full SHA for 0a078d1
lambdas/static-asset-uploader/index.js
@@ -198,7 +198,7 @@ function createCatalogDirectory(staticBucketName) {
198
*/
199
async function createSdkGenerationFile(staticBucketName) {
200
return await exports.s3.headObject({ Bucket: staticBucketName, Key: 'sdkGeneration.json' }).promise()
201
- .catch(async (_) => {
+ .catch(async _error => {
202
// assume it's a NotFound error, and upload a new version
203
console.log('Uploading sdkGeneration.json since it seems to not exist')
204
let params = { Bucket: staticBucketName, Key: 'sdkGeneration.json', Body: '{}' }
0 commit comments