From e4c2cedb86352229f3777963a7cc4e08c1661afa Mon Sep 17 00:00:00 2001 From: "EchoLayer Bot (Stag)" Date: Wed, 13 Mar 2024 18:41:33 +0000 Subject: [PATCH] Split the single line of code into multiple lines for better readability --- .../src/services/undefinedTextEditor.service.ts | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/codex-vscode/src/services/undefinedTextEditor.service.ts b/codex-vscode/src/services/undefinedTextEditor.service.ts index 9ab52ed3..fc8dc23f 100644 --- a/codex-vscode/src/services/undefinedTextEditor.service.ts +++ b/codex-vscode/src/services/undefinedTextEditor.service.ts @@ -87,8 +87,15 @@ export class UndefinedTextEditorService implements ITextEditorService { } public async updateContextDecorations(force: boolean): Promise { - if (force) await this.getContexts(force); - await updateDecorations(this.contexts, LINE_DECORATION, GUTTER_DECORATION, this.textEditor); + if (force) { + await this.getContexts(force); + } + await updateDecorations( + this.contexts, + LINE_DECORATION, + GUTTER_DECORATION, + this.textEditor + ); } public async updateDecorations(force: boolean): Promise {