Update drivers/aliyundrive_open/util.go

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
Yifan Gao 2025-04-13 07:48:27 +00:00 committed by GitHub
parent d062e36d9e
commit 879dca14e7
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -212,10 +212,6 @@ func (d *AliyundriveOpen) removeDuplicateFiles(ctx context.Context, parentPath s
// Remove all duplicates files, except the file with the given ID
for _, file := range duplicates {
if file.GetID() == skipID {
continue
}
err := d.Remove(ctx, file)
if err != nil {
return err