Skip to content

Commit

Permalink
only delete duplicates if option is set
Browse files Browse the repository at this point in the history
  • Loading branch information
chefkoch authored Dec 18, 2024
1 parent bdaa6f3 commit 5c916be
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion cli/src/commands/asset.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 5c916be

Please sign in to comment.