mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-24 06:14:04 +08:00
Update drivers/aliyundrive_open/util.go
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
d062e36d9e
commit
879dca14e7
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user