Skip to content

Commit

Permalink
Merge pull request #204 from Ruxta/master
Browse files Browse the repository at this point in the history
Return empty array if nothing to delete when sync'ing.
  • Loading branch information
pioug authored Feb 25, 2022
2 parents 1581bed + 9179126 commit 0dc2781
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -114,8 +114,6 @@ function fileShouldBeDeleted(key, whitelist) {
}

function buildDeleteMultiple(Bucket, keys) {
if (!keys || !keys.length) return;

var deleteObjects = keys.map(function (k) {
return { Key: k };
});
Expand Down

0 comments on commit 0dc2781

Please sign in to comment.