Skip to content

Commit

Permalink
refactor: call variable by what it meanins
Browse files Browse the repository at this point in the history
  • Loading branch information
VitGottwald committed Apr 13, 2023
1 parent b757c05 commit 0142a1f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions clients/idms-dialect-support/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ let unregisterDialect: () => void;

export async function activate(context: vscode.ExtensionContext) {
const extensionUri = context.extensionUri;
const executablePath = join(extensionUri.path, "server", "jar");
const jarFolder = join(extensionUri.path, "server", "jar");
const snippetPath = join(extensionUri.path, "snippets.json");

const main = vscode.extensions.getExtension(mainExtension);
Expand All @@ -27,7 +27,7 @@ export async function activate(context: vscode.ExtensionContext) {
unregisterDialect = mainApi.dialectAPI_1_0().registerDialect({
extensionId: extensionId,
name: dialectName,
path: executablePath,
path: jarFolder,
description: "IDMS dialect support",
snippetPath: snippetPath,
});
Expand Down

0 comments on commit 0142a1f

Please sign in to comment.