diff --git a/package.json b/package.json index 6ff7cbb..c4e562b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@endeavorance/hammerstone", - "version": "0.1.0", + "version": "0.1.1", "description": "Load and manipulate Obsidian vault data", "type": "module", "exports": "./bin/hammerstone.js", diff --git a/src/document.ts b/src/document.ts index c8ccbc4..294abde 100644 --- a/src/document.ts +++ b/src/document.ts @@ -137,7 +137,7 @@ export default class MarkdownDocument { * @returns `true` If this document shares the given taxonomy */ hasTaxonomy(dirs: string[]) { - if (dirs.length < this.taxonomy.length) { + if (dirs.length > this.taxonomy.length) { return false; }