This commit is contained in:
vorotamoroz committed 2021-10-27 23:23:49 +09:00
1 parent a4fdcf9540
commit b1c045937b
1 file changed
+1 -2
+1 -2
View File
@@ -1482,8 +1482,7 @@ export default class ObsidianLiveSyncPlugin extends Plugin {
Logger(msg); Logger(msg);
await this.app.vault.trigger("modify", file); await this.app.vault.trigger("modify", file);
} }
} } else if (doc.datatype == "plain") {
if (doc.datatype == "plain") {
if (!isValidPath(doc._id)) { if (!isValidPath(doc._id)) {
Logger(`The file that having platform dependent name has been arrived. This file has skipped: ${doc._id}`, LOG_LEVEL.NOTICE); Logger(`The file that having platform dependent name has been arrived. This file has skipped: ${doc._id}`, LOG_LEVEL.NOTICE);
return; return;