remove deletion step

This commit is contained in:
Cassie Tarakajian 2016-12-13 20:47:19 -05:00
parent 1e90ea1437
commit 3b93a5ff19

View file

@ -68,13 +68,13 @@ objectsResponse.on('end', () => {
Objects: filesToDelete,
},
};
let del = client.deleteObjects(params);
del.on('err', (err) => {
console.log(err);
});
del.on('end', () => {
console.log('deleted extra S3 files!');
});
// let del = client.deleteObjects(params);
// del.on('err', (err) => {
// console.log(err);
// });
// del.on('end', () => {
// console.log('deleted extra S3 files!');
// });
console.log("To delete: ", filesToDelete.length);
console.log("Total S3 files: ", uploadedFiles.length);
console.log("Total S3 files in mongo: ", s3Files.length);