Skip to content

Commit

Permalink
use vault.read instead of vaut.cachedRead; #22
Browse files Browse the repository at this point in the history
  • Loading branch information
delashum committed Feb 25, 2021
1 parent ff12121 commit a247a5c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "obsidian-checklist-plugin",
"name": "Checklist",
"version": "1.0.10",
"version": "1.0.11",
"minAppVersion": "0.9.12",
"description": "Combines checklists accross pages into users sidebar",
"author": "delashum",
Expand Down
2 changes: 1 addition & 1 deletion src/_utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export const parseTodos = async (
.map<Promise<FileInfo>>(async (file) => {
const fileCache = cache.getFileCache(file)
const tagsOnPage = fileCache?.tags?.filter((e) => getTagMeta(e.tag).main === pageLink) ?? []
const content = await vault.cachedRead(file)
const content = await vault.read(file)
return { content, cache: fileCache, validTags: tagsOnPage, file }
})
)
Expand Down
3 changes: 2 additions & 1 deletion versions.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@
"1.0.7": "0.9.12",
"1.0.8": "0.9.12",
"1.0.9": "0.9.12",
"1.0.10": "0.9.12"
"1.0.10": "0.9.12",
"1.0.11": "0.9.12"
}

0 comments on commit a247a5c

Please sign in to comment.