mirror of
https://github.com/abraunegg/onedrive
synced 2024-05-17 13:16:41 +02:00
Fix --dry-run output to be consistent when using --upload-only & --no-remote-delete (Issue #758)
* Fix --dry-run output when using --upload-only & --no-remote-delete and deleting local files
This commit is contained in:
parent
217d72486d
commit
8549719df3
|
@ -2206,11 +2206,16 @@ final class SyncEngine
|
|||
}
|
||||
// item.id did not match a 'faked' download new file creation
|
||||
log.vlog("The file has been deleted locally");
|
||||
if (noRemoteDelete) {
|
||||
// do not process remote file delete
|
||||
log.vlog("Skipping remote file delete as --upload-only & --no-remote-delete configured");
|
||||
} else {
|
||||
uploadDeleteItem(item, path);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// upload new items to OneDrive
|
||||
private void uploadNewItems(string path)
|
||||
|
|
Loading…
Reference in a new issue