You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@openserverless.apache.org by ms...@apache.org on 2025/08/11 09:25:59 UTC

(openserverless-vscode-extension) 15/31: lint fixes

This is an automated email from the ASF dual-hosted git repository.

msciabarra pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/openserverless-vscode-extension.git

commit ce92786a0ee0565da3474b488bb65f312dc38530
Author: Michele Sciabarra <mi...@nuvolaris.io>
AuthorDate: Wed Mar 13 00:21:15 2024 +0000

    lint fixes
---
 src/extension.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/extension.ts b/src/extension.ts
index 8e82780..09f56f9 100644
--- a/src/extension.ts
+++ b/src/extension.ts
@@ -10,7 +10,7 @@ let context: vscode.ExtensionContext;
 export async function activate(ctx: vscode.ExtensionContext) {
 	try {
 		context = ctx;
-		let loggedIn = isLoggedIn();
+		const loggedIn = isLoggedIn();
 		if (!loggedIn) LoginPanel.render(handleLogin, context.extensionUri);
 
 		Object.entries(CliCommands).forEach(([name, command]) =>
@@ -40,7 +40,7 @@ function isLoggedIn() {
 
 function handleLogin(username: string, password: string, apiHost: string) {
 	try {
-		launchTerminal(`nuv -login ${apiHost} ${username} ${password}`)
+		launchTerminal(`nuv -login ${apiHost} ${username} ${password}`);
 	} catch (error) {
 		printError(error);
 		throw error;