mirror of
https://github.com/zigholding/obsidian-notesync-plugin.git
synced 2026-07-22 05:43:30 +00:00
cacheRead to read, tag 0.5.2
This commit is contained in:
parent
4910bccf99
commit
0dba51432f
2 changed files with 2 additions and 2 deletions
2
main.ts
2
main.ts
|
|
@ -84,7 +84,7 @@ export default class NoteSyncPlugin extends Plugin {
|
|||
if(!tfile){return}
|
||||
|
||||
let mcache = this.app.metadataCache.getFileCache(tfile);
|
||||
let ctx = await this.app.vault.cachedRead(tfile)
|
||||
let ctx = await this.app.vault.read(tfile);
|
||||
|
||||
let fm: { [key: string]: any } = {};
|
||||
if(mcache && mcache['frontmatter']){
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "note-sync",
|
||||
"name": "Note Sync",
|
||||
"version": "0.5.1",
|
||||
"version": "0.5.2",
|
||||
"minAppVersion": "1.8.3",
|
||||
"description": "Sync notes or plugins between vaults.",
|
||||
"author": "ZigHolding",
|
||||
|
|
|
|||
Loading…
Reference in a new issue