Skip to content

Commit

Permalink
fix: remove async await
Browse files Browse the repository at this point in the history
  • Loading branch information
marufrasully committed Aug 20, 2024
1 parent 4e72c0e commit 5d30ba1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/vscode-ui5-language-assistant/src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ let client: LanguageClient;
let statusBarItem: StatusBarItem;
let currentModel: UI5Model | undefined;

async function init(context: ExtensionContext): Promise<void> {
function init(context: ExtensionContext): void {
// create the StatusBarItem which displays the used UI5 version
statusBarItem = createStatusBarItem(context);

Expand All @@ -76,7 +76,7 @@ async function init(context: ExtensionContext): Promise<void> {

export async function activate(context: ExtensionContext): Promise<void> {
// complete initialization task asynchronously
await init(context);
init(context);

// register semantic token provider
context.subscriptions.push(
Expand Down

0 comments on commit 5d30ba1

Please sign in to comment.