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
12
src/sync.d
12
src/sync.d
|
@ -472,11 +472,13 @@ final class SyncEngine
|
||||||
}
|
}
|
||||||
|
|
||||||
// skip filtered items
|
// skip filtered items
|
||||||
if (!baseName(path).matchFirst(skipFile).empty) {
|
if (path != ".") {
|
||||||
return;
|
if (!baseName(path).matchFirst(skipFile).empty) {
|
||||||
}
|
return;
|
||||||
if (isPathExcluded(path, selectiveSyncPaths)) {
|
}
|
||||||
return;
|
if (isPathExcluded(path, selectiveSyncPaths)) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (isDir(path)) {
|
if (isDir(path)) {
|
||||||
|
|
Loading…
Reference in a new issue