github: publish workspace folder

This commit is contained in:
João Moreno
2020-05-19 11:57:34 +02:00
parent 2aa9f3f243
commit 4bb364cc8e
6 changed files with 155 additions and 114 deletions

View File

@@ -14,6 +14,6 @@ export async function activate(context: vscode.ExtensionContext) {
const gitAPI = gitExtension.getAPI(1);
context.subscriptions.push(...registerCommands(gitAPI));
context.subscriptions.push(gitAPI.registerRemoteSourceProvider(new GithubRemoteSourceProvider()));
context.subscriptions.push(gitAPI.registerRemoteSourceProvider(new GithubRemoteSourceProvider(gitAPI)));
context.subscriptions.push(new GithubCredentialProviderManager(gitAPI));
}