Skip to content

Commit ea97350

Browse files
authored
Merge pull request #1070 from microsoft/isidorn/dear-heron
copilot should be github-copilot tag
2 parents faca6fd + 60c9193 commit ea97350

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/package.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -675,7 +675,7 @@ export class TagsProcessor extends BaseProcessor {
675675
const debuggers = doesContribute('debuggers') ? ['debuggers'] : [];
676676
const json = doesContribute('jsonValidation') ? ['json'] : [];
677677
const remoteMenu = doesContribute('menus', 'statusBar/remoteIndicator') ? ['remote-menu'] : [];
678-
const chatParticipants = doesContribute('chatParticipants') ? ['chat-participant', 'copilot'] : [];
678+
const chatParticipants = doesContribute('chatParticipants') ? ['chat-participant', 'github-copilot'] : [];
679679

680680
const localizationContributions = ((contributes && contributes['localizations']) ?? []).reduce<string[]>(
681681
(r, l) => [...r, `lp-${l.languageId}`, ...toLanguagePackTags(l.translations, l.languageId)],

src/test/package.test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1332,7 +1332,7 @@ describe('toVsixManifest', () => {
13321332
.then(result => assert.deepEqual(result.PackageManifest.Metadata[0].Tags[0], 'snippet,__web_extension'));
13331333
});
13341334

1335-
it('should automatically add chatParticipant and copilot tag', () => {
1335+
it('should automatically add chatParticipant and github-copilot tag', () => {
13361336
const manifest = {
13371337
name: 'test',
13381338
publisher: 'mocha',
@@ -1345,7 +1345,7 @@ describe('toVsixManifest', () => {
13451345

13461346
return _toVsixManifest(manifest, [])
13471347
.then(parseXmlManifest)
1348-
.then(result => assert.deepEqual(result.PackageManifest.Metadata[0].Tags[0], 'chat-participant,copilot,__web_extension'));
1348+
.then(result => assert.deepEqual(result.PackageManifest.Metadata[0].Tags[0], 'chat-participant,github-copilot,__web_extension'));
13491349
});
13501350

13511351
it('should remove duplicate tags', () => {

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy