From 0dba51432fe37ee32330245859eba5e221644ef5 Mon Sep 17 00:00:00 2001 From: ZigHolding Date: Thu, 22 May 2025 01:09:55 +0800 Subject: [PATCH] cacheRead to read, tag 0.5.2 --- main.ts | 2 +- manifest.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/main.ts b/main.ts index e3e6f5f..22ab0fd 100644 --- a/main.ts +++ b/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']){ diff --git a/manifest.json b/manifest.json index ebc82d0..ce42613 100644 --- a/manifest.json +++ b/manifest.json @@ -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",