refactor: Remove unnecessary whitespace in CopilotActionsBase.ts and ImproveComments.ts

This commit is contained in:
Simon Larsen 2024-09-04 18:45:58 +01:00
parent 989a082d3e
commit fb1f129089
No known key found for this signature in database
GPG Key ID: 96C5DCA24769DBCA
2 changed files with 1 additions and 2 deletions

View File

@ -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}`);

View File

@ -277,7 +277,7 @@ export default class ImproveComments extends CopilotActionBase {
);
const lastWordOfInputCode: string = Text.getLastWord(data.inputCode);
extractedCode = Text.trimEndUntilThisWord(
extractedCode,
lastWordOfInputCode,