chore: remove logging statements

This commit is contained in:
daniel
2024-12-27 22:39:22 +01:00
parent 5f7fdb244a
commit 064320bc5b

View File

@@ -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) {