From 64737a382dca9470e35ec67ed236f28108b28055 Mon Sep 17 00:00:00 2001 From: FBarrca <201800222@alu.comillas.edu> Date: Mon, 6 Jan 2025 22:43:10 +0100 Subject: [PATCH] Remove debugging console output from generateDiffView function --- src/modules/diffExtension.ts | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/modules/diffExtension.ts b/src/modules/diffExtension.ts index 5be4bea..2a76ba7 100644 --- a/src/modules/diffExtension.ts +++ b/src/modules/diffExtension.ts @@ -64,12 +64,6 @@ function generateDiffView(state: EditorState): DecorationSet { const aiText: string = response?.airesponse ?? ""; const contextText: string = context?.text ?? ""; - // Debugging: Remove or conditionally enable in production - console.debug("Generating diff view", { - aiResponse: response, - contextText: context, - }); - // Use diff_match_patch instead of diffWords const dmp = new DiffMatchPatch(); let diffs = dmp.diff_main(contextText, aiText);