From 48ea7330f6a3dd352d7c48f0c45cfd5e89b8c3dc Mon Sep 17 00:00:00 2001 From: Eric Amodio Date: Sat, 30 Jan 2021 23:21:54 -0500 Subject: [PATCH] Updates CodeStream details --- src/partners.ts | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/src/partners.ts b/src/partners.ts index 5fa35f3..5655f1f 100644 --- a/src/partners.ts +++ b/src/partners.ts @@ -97,9 +97,7 @@ function registerCodeStream(context: ExtensionContext): void { const runners = actionRunners.get(ctx.type); if (runners == null || runners.length === 0) return; - const runner = runners.find( - r => r.type === ActionRunnerType.Partner && (r.partnerId === partnerId || r.name === 'CodeStream'), - ); + const runner = runners.find(r => r.type === ActionRunnerType.Partner && r.partnerId === partnerId); if (runner != null) { rerunDisposable.dispose(); @@ -135,17 +133,17 @@ function registerCodeStream(context: ExtensionContext): void { subscriptions.push( Container.actionRunners.registerBuiltInPartnerInstaller(partnerId, 'createPullRequest', { - name: 'CodeStream', + name: 'CodeStream: GitHub, GitLab, Bitbucket PRs and Code Review', label: 'Create Pull Request in VS Code', run: runner, }), Container.actionRunners.registerBuiltInPartnerInstaller(partnerId, 'openPullRequest', { - name: 'CodeStream', + name: 'CodeStream: GitHub, GitLab, Bitbucket PRs and Code Review', label: 'Open Pull Request in VS Code', run: runner, }), Container.actionRunners.registerBuiltInPartnerInstaller(partnerId, 'hover.commands', { - name: 'CodeStream', + name: 'CodeStream: GitHub, GitLab, Bitbucket PRs and Code Review', label: '$(comment) Leave a Comment', run: runner, }),