Update commands.ts

This commit is contained in:
CalWooten95 2021-11-16 15:24:41 -06:00 committed by GitHub
parent f59be64ab2
commit 327ce1eea4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -178,7 +178,7 @@ function getIndent(): void {
function runLineContext(): void { function runLineContext(): void {
let editor = vscode.window.activeTextEditor; let editor = vscode.window.activeTextEditor;
if (editor) { if (editor){
// current text and line number // current text and line number
let editorText = editor.document.getText(); let editorText = editor.document.getText();
let line = editor.selection.active.line; let line = editor.selection.active.line;