From d9afbd0e1cbde1141a8a400cfd1fe99b37280a31 Mon Sep 17 00:00:00 2001 From: "Jan T. Sott" Date: Sun, 24 Mar 2024 14:15:56 +0100 Subject: [PATCH] update export --- src/index.ts | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index 03a848f..f429ac1 100644 --- a/src/index.ts +++ b/src/index.ts @@ -6,7 +6,7 @@ import { convert } from './nlf'; import { createTask } from './task'; import { updateDiagnostics } from './diagnostics'; -async function activate(context: ExtensionContext): Promise { +export async function activate(context: ExtensionContext): Promise { context.subscriptions.push( // TextEditor Commands commands.registerTextEditorCommand('extension.nsis.compile', async () => { @@ -32,7 +32,7 @@ async function activate(context: ExtensionContext): Promise { }) ); - //Global Commands + // Global Commands context.subscriptions.push( commands.registerCommand('extension.nsis.show-version', async () => { return await showVersion(); @@ -88,5 +88,3 @@ async function activate(context: ExtensionContext): Promise { } })); } - -export { activate };