Skip to content

Commit

Permalink
#206 tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
DumpySquare committed Jun 20, 2023
1 parent c765a56 commit 87070af
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
5 changes: 4 additions & 1 deletion src/extLoader.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,10 @@ const perfStats: PerfStats = {
// Object.defineProperty(exports, "__esModule", { value: true });

import { ExtensionContext } from 'vscode';
import { activateInternal, deactivateInternal } from './extension';
import {
activate as activateInternal,
deactivate as deactivateInternal
} from './extension';

// while this may load the code/references, it will be empty
import { ext } from './extensionVariables';
Expand Down
4 changes: 2 additions & 2 deletions src/extension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ logger.output = function (log: string) {


// provide extension functions for activation
export async function activateInternal(context: ExtensionContext) {
export async function activate(context: ExtensionContext) {

process.on('unhandledRejection', error => {
logger.error('--- unhandledRejection ---', error);
Expand Down Expand Up @@ -969,6 +969,6 @@ export async function activateInternal(context: ExtensionContext) {


// this method is called when your extension is deactivated
export async function deactivateInternal(context: ExtensionContext) {
export async function deactivate(context: ExtensionContext) {
// log deactivation event
}

0 comments on commit 87070af

Please sign in to comment.