From 60c9193f44b63017d32df2b5936cefdbc07c1a8d Mon Sep 17 00:00:00 2001 From: isidorn Date: Mon, 21 Oct 2024 11:55:45 +0200 Subject: [PATCH] copilot should be github-copilot tag --- src/package.ts | 2 +- src/test/package.test.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/package.ts b/src/package.ts index c005c2f2..68376c33 100644 --- a/src/package.ts +++ b/src/package.ts @@ -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( (r, l) => [...r, `lp-${l.languageId}`, ...toLanguagePackTags(l.translations, l.languageId)], diff --git a/src/test/package.test.ts b/src/test/package.test.ts index e020e0a6..12b6cca1 100644 --- a/src/test/package.test.ts +++ b/src/test/package.test.ts @@ -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', @@ -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', () => {