Skip to content

Commit

Permalink
Lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanblock committed Apr 29, 2024
1 parent 8053477 commit f65375b
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/_delete-bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,6 @@ module.exports = function deleteBucketContents ({ aws, bucket: Bucket }, callbac
.catch(err => callback(err))
}
else callback()
}
},
], callback)
}
6 changes: 3 additions & 3 deletions src/_ssm.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ module.exports = {
getDeployBucket: function getDeployBucket (aws, appname, callback) {
aws.ssm.GetParameter({
Name: `/${appname}/deploy/bucket`,
WithDecryption: true
WithDecryption: true,
})
.then(data => {
let value = data?.Parameter?.Value ? data.Parameter.Value : null
Expand All @@ -24,7 +24,7 @@ module.exports = {
aws.ssm.GetParametersByPath({
Path: rootPath,
Recursive: true,
paginate: true
paginate: true,
})
.then(data => {
if (data?.Parameters?.length) {
Expand Down Expand Up @@ -63,5 +63,5 @@ module.exports = {
deleteThings()
}
})
}
},
}
2 changes: 1 addition & 1 deletion src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ async function main (opts = {}) {
now: args.now,
retries: args.timeout ? 15 : 999,
stackname: args.name,
update
update,
}

update.status(`Destroying ${env} environment`)
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -234,7 +234,7 @@ module.exports = function destroy (params, callback) {
})
}
check()
}
},

], callback)

Expand Down

0 comments on commit f65375b

Please sign in to comment.