handle relative path correctly (#226)

Co-authored-by: fyears <1142836+fyears@users.noreply.github.com>
This commit is contained in:
Yesterday17
2024-04-05 10:45:23 +08:00
committed by GitHub
co-authored by fyears
parent 220fd07a8b
commit 8f68ac4ded
2 changed files with 50 additions and 4 deletions
+1
View File
@@ -147,6 +147,7 @@ const isSkipItemByName = (
return (
isHiddenPath(key, true, false) ||
(!syncUnderscoreItems && isHiddenPath(key, false, true)) ||
key === "/" ||
key === DEFAULT_FILE_NAME_FOR_METADATAONREMOTE ||
key === DEFAULT_FILE_NAME_FOR_METADATAONREMOTE2
);