Skip to content

Commit

Permalink
Merge pull request #1070 from microsoft/isidorn/dear-heron
Browse files Browse the repository at this point in the history
copilot should be github-copilot tag
  • Loading branch information
benibenj authored Oct 21, 2024
2 parents faca6fd + 60c9193 commit ea97350
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,7 +675,7 @@ export class TagsProcessor extends BaseProcessor {
const debuggers = doesContribute('debuggers') ? ['debuggers'] : [];
const json = doesContribute('jsonValidation') ? ['json'] : [];
const remoteMenu = doesContribute('menus', 'statusBar/remoteIndicator') ? ['remote-menu'] : [];
const chatParticipants = doesContribute('chatParticipants') ? ['chat-participant', 'copilot'] : [];
const chatParticipants = doesContribute('chatParticipants') ? ['chat-participant', 'github-copilot'] : [];

const localizationContributions = ((contributes && contributes['localizations']) ?? []).reduce<string[]>(
(r, l) => [...r, `lp-${l.languageId}`, ...toLanguagePackTags(l.translations, l.languageId)],
Expand Down
4 changes: 2 additions & 2 deletions src/test/package.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1332,7 +1332,7 @@ describe('toVsixManifest', () => {
.then(result => assert.deepEqual(result.PackageManifest.Metadata[0].Tags[0], 'snippet,__web_extension'));
});

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

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

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

0 comments on commit ea97350

Please sign in to comment.