mirror of
https://github.com/abraunegg/onedrive
synced 2024-06-03 14:32:24 +02:00
fix root dir skipped when searching for new files
This commit is contained in:
parent
9dd944286f
commit
2c1c168fab
|
@ -472,12 +472,14 @@ final class SyncEngine
|
|||
}
|
||||
|
||||
// skip filtered items
|
||||
if (path != ".") {
|
||||
if (!baseName(path).matchFirst(skipFile).empty) {
|
||||
return;
|
||||
}
|
||||
if (isPathExcluded(path, selectiveSyncPaths)) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
|
||||
if (isDir(path)) {
|
||||
Item item;
|
||||
|
|
Loading…
Reference in a new issue