diff options
| author | Adam Malczewski <[email protected]> | 2026-03-28 06:24:09 +0900 |
|---|---|---|
| committer | Adam Malczewski <[email protected]> | 2026-03-28 06:24:09 +0900 |
| commit | 80b35f3a606753ba804445e120eb9a7f05afef85 (patch) | |
| tree | 4f8787fae670e86515baed54e00087ce3ef28da6 /src/vault-context.ts | |
| parent | 023be9086a2da18b4dbb5dd429b4db250fa098ad (diff) | |
| download | ai-pulse-obsidian-plugin-80b35f3a606753ba804445e120eb9a7f05afef85.tar.gz ai-pulse-obsidian-plugin-80b35f3a606753ba804445e120eb9a7f05afef85.zip | |
fix so that build with strict mode works
Diffstat (limited to 'src/vault-context.ts')
| -rw-r--r-- | src/vault-context.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vault-context.ts b/src/vault-context.ts index 6ac55ca..8cdda81 100644 --- a/src/vault-context.ts +++ b/src/vault-context.ts @@ -84,8 +84,8 @@ function buildTagTaxonomy(app: App): string { } // Frontmatter tags - if (cache.frontmatter?.tags !== undefined) { - const fmTags = cache.frontmatter.tags; + if (cache.frontmatter?.['tags'] !== undefined) { + const fmTags = cache.frontmatter['tags']; if (Array.isArray(fmTags)) { for (const raw of fmTags) { const tag = typeof raw === "string" |
