As title says every time I rename a folder note through the note itself with sync turned on message "Destination file already exists" pops up. But the note and folder are still renamed.
Problem is that I think this causes Templater's rename function not to work properly: rename command still goes through and renames the file and folder, but all of the Templater commands get left over and act as if the whole thing failed with an error message.
As title says every time I rename a folder note through the note itself with sync turned on message "Destination file already exists" pops up. But the note and folder are still renamed. Problem is that I think this causes Templater's rename function not to work properly: rename command still goes through and renames the file and folder, but all of the Templater commands get left over and act as if the whole thing failed with an error message.
Relative console output is provided:
Without Templater:
![Console output](https://github.com/LostPaul/obsidian-folder-notes/assets/100509766/b04e6d36-12c3-4171-932d-296d0f8ce2e2)
Using template file with tp.file.rename() in it:
![Console output](https://github.com/LostPaul/obsidian-folder-notes/assets/100509766/42243d3a-8761-4a61-a2a0-2a84ebf0bb6d)