This commit is contained in:
vorotamoroz
2021-10-27 23:23:49 +09:00
parent a4fdcf9540
commit b1c045937b

View File

@@ -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;