Skip to content

Commit 9e583a6

Browse files
Boris Dorofeevnodkz
authored andcommitted
fix: clean console.log
1 parent ff4c2be commit 9e583a6

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

src/helpers/deleteKeys.ts

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,10 @@ export async function deleteQueue(
2929
for (let i = 0; i < keys.length; i++) {
3030
const del = await connection.del(keys[i]);
3131
if (del) {
32-
console.log(keys[i]);
3332
total++;
3433
}
3534
}
3635
});
3736

38-
stream.on('end', function () {
39-
console.log('all keys have been deleted!');
40-
});
41-
4237
return total;
4338
}

0 commit comments

Comments
 (0)