cacheRead to read, tag 0.5.2

This commit is contained in:
ZigHolding 2025-05-22 01:09:55 +08:00
parent 4910bccf99
commit fec3ab99fd
2 changed files with 2 additions and 2 deletions

View file

@ -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']){

View file

@ -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",