Skip to content
This repository has been archived by the owner on Jul 16, 2021. It is now read-only.

Commit

Permalink
clearing unneeded catch
Browse files Browse the repository at this point in the history
  • Loading branch information
simalexan committed Aug 28, 2017
1 parent 5ef4b88 commit cb404f0
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/empty-bucket.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,6 @@ function emptyBucket(name, s3lib) {
let keys = result.Contents.map(item => item.Key)
return deleteObjects(name, keys, s3lib)
})
.catch(err => {
throw err })
}

module.exports = emptyBucket

0 comments on commit cb404f0

Please sign in to comment.