Skip to content

Commit

Permalink
refactor: Remove unnecessary whitespace in CopilotActionsBase.ts and …
Browse files Browse the repository at this point in the history
…ImproveComments.ts
  • Loading branch information
simlarsen committed Sep 4, 2024
1 parent 989a082 commit fb1f129
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion Copilot/Service/CopilotActions/CopilotActionsBase.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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}`);
Expand Down
2 changes: 1 addition & 1 deletion Copilot/Service/CopilotActions/ImproveComments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ export default class ImproveComments extends CopilotActionBase {
);

const lastWordOfInputCode: string = Text.getLastWord(data.inputCode);

extractedCode = Text.trimEndUntilThisWord(
extractedCode,
lastWordOfInputCode,
Expand Down

0 comments on commit fb1f129

Please sign in to comment.