mirror of
https://github.com/dnlbauer/obsidian-dataview-autocompletion.git
synced 2026-09-10 22:25:29 +00:00
chore: remove debug statements
This commit is contained in:
@@ -301,13 +301,12 @@ export class DataviewSuggester extends EditorSuggest<String> {
|
|||||||
for (const value of this.suggestionsRefs.get(file.path)!) {
|
for (const value of this.suggestionsRefs.get(file.path)!) {
|
||||||
this.suggestionsRefCount.set(value, this.suggestionsRefCount.get(value)! - 1);
|
this.suggestionsRefCount.set(value, this.suggestionsRefCount.get(value)! - 1);
|
||||||
if (this.suggestionsRefCount.get(value) === 0) {
|
if (this.suggestionsRefCount.get(value) === 0) {
|
||||||
console.debug("deleting value from suggestion index", value);
|
|
||||||
this.suggestionsList.splice(this.suggestionsList.indexOf(value), 1);
|
this.suggestionsList.splice(this.suggestionsList.indexOf(value), 1);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
this.suggestionsRefs.delete(file.path);
|
this.suggestionsRefs.delete(file.path);
|
||||||
} else {
|
} else {
|
||||||
console.warn("Unknown update type:", type, file, oldPath);
|
console.debug("Unknown update type:", type, file, oldPath);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user