mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2026-06-01 03:52:56 +00:00
Fixed file deletion failures.
This commit is contained in:
+1
-1
@@ -821,7 +821,7 @@ export default class ObsidianLiveSyncPlugin extends Plugin {
|
||||
try {
|
||||
Logger(`file save ${file.path} into db`);
|
||||
await this.updateIntoDB(file);
|
||||
Logger(`deleted ${oldFile} into db`);
|
||||
Logger(`deleted ${oldFile} from db`);
|
||||
await this.deleteFromDBbyPath(oldFile);
|
||||
} catch (ex) {
|
||||
Logger(ex);
|
||||
|
||||
Reference in New Issue
Block a user