mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-28 15:31:11 -04:00
#254 clean up S3 images - cleanup script
This commit is contained in:
parent
19e9457f38
commit
20328fb6d0
@ -114,7 +114,7 @@ async function cleanup() {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (execute) {
|
if (execute && toRemove.length) {
|
||||||
console.log('--- Removal request ---');
|
console.log('--- Removal request ---');
|
||||||
await s3.deleteObjects({
|
await s3.deleteObjects({
|
||||||
Delete: {
|
Delete: {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user