Fix bug with scope

This commit is contained in:
Endeavorance 2024-05-12 08:54:40 -04:00
parent 33a88f8984
commit b4d6e01f6d
2 changed files with 2 additions and 2 deletions

View file

@ -1,6 +1,6 @@
{ {
"name": "@endeavorance/hammerstone", "name": "@endeavorance/hammerstone",
"version": "0.1.0", "version": "0.1.1",
"description": "Load and manipulate Obsidian vault data", "description": "Load and manipulate Obsidian vault data",
"type": "module", "type": "module",
"exports": "./bin/hammerstone.js", "exports": "./bin/hammerstone.js",

View file

@ -137,7 +137,7 @@ export default class MarkdownDocument {
* @returns `true` If this document shares the given taxonomy * @returns `true` If this document shares the given taxonomy
*/ */
hasTaxonomy(dirs: string[]) { hasTaxonomy(dirs: string[]) {
if (dirs.length < this.taxonomy.length) { if (dirs.length > this.taxonomy.length) {
return false; return false;
} }