mirror of
https://github.com/OneUptime/oneuptime
synced 2024-11-21 22:59:07 +00:00
refactor: Remove unnecessary whitespace in CopilotActionsBase.ts and ImproveComments.ts
This commit is contained in:
parent
989a082d3e
commit
fb1f129089
@ -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}`);
|
||||
|
@ -277,7 +277,7 @@ export default class ImproveComments extends CopilotActionBase {
|
||||
);
|
||||
|
||||
const lastWordOfInputCode: string = Text.getLastWord(data.inputCode);
|
||||
|
||||
|
||||
extractedCode = Text.trimEndUntilThisWord(
|
||||
extractedCode,
|
||||
lastWordOfInputCode,
|
||||
|
Loading…
Reference in New Issue
Block a user