#254 clean up S3 images - cleanup script

This commit is contained in:
Andrea Vos 2021-08-24 21:38:53 +00:00
parent 19e9457f38
commit 20328fb6d0

View File

@ -114,7 +114,7 @@ async function cleanup() {
}
}
if (execute) {
if (execute && toRemove.length) {
console.log('--- Removal request ---');
await s3.deleteObjects({
Delete: {