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