diff --git a/src/extension.ts b/src/extension.ts index eeb226e..d046c20 100644 --- a/src/extension.ts +++ b/src/extension.ts @@ -1,4 +1,5 @@ import { version as codeVersion, commands, env, ExtensionContext, extensions, window, workspace } from 'vscode'; +import { isWeb } from '@env/platform'; import { Api } from './api/api'; import type { CreatePullRequestActionContext, GitLensApi, OpenPullRequestActionContext } from './api/gitlens'; import { Commands, executeCommand, OpenPullRequestOnRemoteCommandArgs, registerCommands } from './commands'; @@ -37,7 +38,10 @@ export function activate(context: ExtensionContext): Promise('ms-vsliveshare.vsliveshare'); if (extension != null) { - const liveshareExtension = extension.isActive ? extension.exports : await extension.activate(); - return (await liveshareExtension.getApi('1.0.4753')) ?? undefined; + const vslsExtension = extension.isActive ? extension.exports : await extension.activate(); + return (await vslsExtension.getApi('1.0.4753')) ?? undefined; } - } catch {} + } catch { + debugger; + } return undefined; }