mirror of
https://github.com/vrtmrz/obsidian-livesync.git
synced 2024-12-12 09:04:06 +02:00
fixed #5
This commit is contained in:
parent
a4fdcf9540
commit
b1c045937b
3
main.ts
3
main.ts
@ -1482,8 +1482,7 @@ export default class ObsidianLiveSyncPlugin extends Plugin {
|
||||
Logger(msg);
|
||||
await this.app.vault.trigger("modify", file);
|
||||
}
|
||||
}
|
||||
if (doc.datatype == "plain") {
|
||||
} else if (doc.datatype == "plain") {
|
||||
if (!isValidPath(doc._id)) {
|
||||
Logger(`The file that having platform dependent name has been arrived. This file has skipped: ${doc._id}`, LOG_LEVEL.NOTICE);
|
||||
return;
|
||||
|
Loading…
Reference in New Issue
Block a user