1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

only delete duplicates if option is set

This commit is contained in:
chefkoch 2024-12-18 09:59:56 +01:00 committed by GitHub
parent bdaa6f3581
commit 5c916be26a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -332,7 +332,10 @@ const deleteFiles = async ({ files: string[], duplicates: string[] } , options:
deletionProgress.stop();
}
if (!options.deleteDuplicates) {
return;
}
console.log('Deleting assets which are duplicates...');
const deletionProgressDupe = new SingleBar(