Skip to content

Commit 7065763

Browse files
committed
🐛 chore: fix dry run option of delete items util
1 parent d133c0c commit 7065763

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/utils/deleteItems.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ const MAX_ITEMS_PER_BATCH = 25;
77
const deleteItems = async (ddb, tableName, items, isDryRun) => {
88
if (isDryRun) {
99
console.info(`Dry run: would have deleted ${items.length} items from ${tableName}`, items);
10+
return;
1011
}
1112

1213
const batches = [];

0 commit comments

Comments
 (0)