Skip to content

Commit

Permalink
potential fix for #119 sync issue
Browse files Browse the repository at this point in the history
  • Loading branch information
Francis Kafieh committed Nov 13, 2024
1 parent 08799aa commit 6411c4f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/obsidian/listeners/onVaultCreate.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,10 @@ const onVaultCreate = serialize(async (file: TAbstractFile) => {
currFile.supposedList = "created";
currFile.matchesCriteria = false;
} else {
if (file.basename.contains("~syncthing~")) {
return;
}

settings.trackedFiles.push({
path: file.path,
supposedList: "created",
Expand Down

0 comments on commit 6411c4f

Please sign in to comment.