소스 검색

Updates CodeStream details

main
Eric Amodio 3 년 전
부모
커밋
48ea7330f6
1개의 변경된 파일4개의 추가작업 그리고 6개의 파일을 삭제
  1. +4
    -6
      src/partners.ts

+ 4
- 6
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,
}),

불러오는 중...
취소
저장