From f59be64ab239295a509864e937ccc571472fe918 Mon Sep 17 00:00:00 2001 From: CalWooten95 Date: Tue, 16 Nov 2021 15:21:57 -0600 Subject: [PATCH] Update commands.ts --- src/commands.ts | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/commands.ts b/src/commands.ts index db4c273..1d0a1d8 100644 --- a/src/commands.ts +++ b/src/commands.ts @@ -159,19 +159,19 @@ function getIndent(): void { let i = 0; if(textLine.isEmptyOrWhitespace) { - vscode.window.showInformationMessage("Line number " + lineNum.toString() + " Is Empty") + vscode.window.showInformationMessage("Line number " + lineNum.toString() + " Is Empty"); } else { - while(textLine.text[i] == '\t') + while(textLine.text[i] === '\t') { i++; } - vscode.window.showInformationMessage("Line Number " + lineNum.toString() + " Indentation " + i.toString()) + vscode.window.showInformationMessage("Line Number " + lineNum.toString() + " Indentation " + i.toString()); } } else{ - vscode.window.showErrorMessage('No document currently active') + vscode.window.showErrorMessage('No document currently active'); } }