Fix bug with scope
This commit is contained in:
parent
33a88f8984
commit
b4d6e01f6d
|
@ -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",
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue