From 064320bc5bac29a4a7dee94552dd04d69fcaf448 Mon Sep 17 00:00:00 2001 From: daniel Date: Fri, 27 Dec 2024 22:39:22 +0100 Subject: [PATCH] chore: remove logging statements --- src/SuggestionIndex.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/SuggestionIndex.ts b/src/SuggestionIndex.ts index c724386..7a91fea 100644 --- a/src/SuggestionIndex.ts +++ b/src/SuggestionIndex.ts @@ -14,7 +14,7 @@ export class SuggestionIndex { } public buildNewIndex() { - console.log("Begin Rebuilding dataview suggestion index"); + // console.log("Begin Rebuilding dataview suggestion index"); const startTime = performance.now(); const dataviewApi = getAPI(this.plugin.app); @@ -55,9 +55,7 @@ export class SuggestionIndex { this.suggestionsRefs = newSuggestionsRefs; const endTime = performance.now(); - console.log( - `Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`, - ); + console.log(`Rebuilt dataview autocomplete index (${this.suggestionsList.length} elements, ${(endTime - startTime).toFixed(2)}ms)`); } public updateIndex(type: string, file: TFile, oldPath?: string) {