mirror of
https://gitlab.com/PronounsPage/PronounsPage.git
synced 2025-09-27 06:52:35 -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 ---');
|
||||
await s3.deleteObjects({
|
||||
Delete: {
|
||||
|
Loading…
x
Reference in New Issue
Block a user