From 327ce1eea4aaf80fb647664ba39cf672d3b2fde0 Mon Sep 17 00:00:00 2001 From: CalWooten95 Date: Tue, 16 Nov 2021 15:24:41 -0600 Subject: [PATCH] Update commands.ts --- src/commands.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index 1d0a1d8..b97abff 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -152,7 +152,7 @@ function resetEditorScale(): void { function getIndent(): void { let editor = vscode.window.activeTextEditor; - if(editor) + if(editor) { let lineNum = editor.selection.active.line + 1; let textLine = editor.document.lineAt(lineNum - 1); @@ -178,7 +178,7 @@ function getIndent(): void { function runLineContext(): void { let editor = vscode.window.activeTextEditor; - if (editor) { + if (editor){ // current text and line number let editorText = editor.document.getText(); let line = editor.selection.active.line;