mirror of
https://github.com/dnlbauer/obsidian-dataview-autocompletion.git
synced 2026-09-10 14:15:29 +00:00
chore: remove logging statements
This commit is contained in:
@@ -14,7 +14,7 @@ export class SuggestionIndex {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public buildNewIndex() {
|
public buildNewIndex() {
|
||||||
console.log("Begin Rebuilding dataview suggestion index");
|
// console.log("Begin Rebuilding dataview suggestion index");
|
||||||
const startTime = performance.now();
|
const startTime = performance.now();
|
||||||
const dataviewApi = getAPI(this.plugin.app);
|
const dataviewApi = getAPI(this.plugin.app);
|
||||||
|
|
||||||
@@ -55,9 +55,7 @@ export class SuggestionIndex {
|
|||||||
this.suggestionsRefs = newSuggestionsRefs;
|
this.suggestionsRefs = newSuggestionsRefs;
|
||||||
|
|
||||||
const endTime = performance.now();
|
const endTime = performance.now();
|
||||||
console.log(
|
console.log(`Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`);
|
||||||
`Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`,
|
|
||||||
);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
public updateIndex(type: string, file: TFile, oldPath?: string) {
|
public updateIndex(type: string, file: TFile, oldPath?: string) {
|
||||||
|
|||||||
Reference in New Issue
Block a user