mirror of
https://github.com/microsoft/vscode.git
synced 2026-07-14 16:04:09 +01:00
13 lines
736 B
TypeScript
13 lines
736 B
TypeScript
/*---------------------------------------------------------------------------------------------
|
|
* Copyright (c) Microsoft Corporation. All rights reserved.
|
|
* Licensed under the MIT License. See License.txt in the project root for license information.
|
|
*--------------------------------------------------------------------------------------------*/
|
|
|
|
import * as vscode from 'vscode';
|
|
import { GitHubAuthenticationProvider, AuthProviderType } from './github';
|
|
|
|
export async function activate(context: vscode.ExtensionContext) {
|
|
context.subscriptions.push(new GitHubAuthenticationProvider(context, AuthProviderType.github));
|
|
context.subscriptions.push(new GitHubAuthenticationProvider(context, AuthProviderType.githubEnterprise));
|
|
}
|