From fb1f129089b743b69d6b0df7fd43944eb54f8e9f Mon Sep 17 00:00:00 2001 From: Simon Larsen Date: Wed, 4 Sep 2024 18:45:58 +0100 Subject: [PATCH] refactor: Remove unnecessary whitespace in CopilotActionsBase.ts and ImproveComments.ts --- Copilot/Service/CopilotActions/CopilotActionsBase.ts | 1 - Copilot/Service/CopilotActions/ImproveComments.ts | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/Copilot/Service/CopilotActions/CopilotActionsBase.ts b/Copilot/Service/CopilotActions/CopilotActionsBase.ts index b6f71c9dbf..9f2d195d63 100644 --- a/Copilot/Service/CopilotActions/CopilotActionsBase.ts +++ b/Copilot/Service/CopilotActions/CopilotActionsBase.ts @@ -237,7 +237,6 @@ If you have any feedback or suggestions, please let us know. We would love to h const processResult: CopilotProcess = data.data; for (const filePath in processResult.result.files) { - logger.info(`Writing file: ${filePath}`); logger.info(`File content: `); logger.info(`${processResult.result.files[filePath]!.fileContent}`); diff --git a/Copilot/Service/CopilotActions/ImproveComments.ts b/Copilot/Service/CopilotActions/ImproveComments.ts index a493f3d5b1..779b3e4106 100644 --- a/Copilot/Service/CopilotActions/ImproveComments.ts +++ b/Copilot/Service/CopilotActions/ImproveComments.ts @@ -277,7 +277,7 @@ export default class ImproveComments extends CopilotActionBase { ); const lastWordOfInputCode: string = Text.getLastWord(data.inputCode); - + extractedCode = Text.trimEndUntilThisWord( extractedCode, lastWordOfInputCode,