Skip to content

Commit

Permalink
💄
Browse files Browse the repository at this point in the history
  • Loading branch information
benibenj committed Oct 18, 2024
1 parent b665f24 commit 7fbc8c6
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions src/package.ts
Original file line number Diff line number Diff line change
Expand Up @@ -675,8 +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'] : [];
const copilot = doesContribute('chatParticipants') ? ['copilot'] : [];
const chatParticipants = doesContribute('chatParticipants') ? ['chat-participant', 'copilot'] : [];

const localizationContributions = ((contributes && contributes['localizations']) ?? []).reduce<string[]>(
(r, l) => [...r, `lp-${l.languageId}`, ...toLanguagePackTags(l.translations, l.languageId)],
Expand Down Expand Up @@ -718,7 +717,6 @@ export class TagsProcessor extends BaseProcessor {
...json,
...remoteMenu,
...chatParticipants,
...copilot,
...localizationContributions,
...languageContributions,
...languageActivations,
Expand Down Expand Up @@ -1638,7 +1636,7 @@ async function collectAllFiles(
cwd: string,
dependencies: 'npm' | 'yarn' | 'none' | undefined,
dependencyEntryPoints?: string[],
followSymlinks:boolean = true
followSymlinks: boolean = true
): Promise<string[]> {
const deps = await getDependencies(cwd, dependencies, dependencyEntryPoints);
const promises = deps.map(dep =>
Expand Down Expand Up @@ -1672,7 +1670,7 @@ function collectFiles(
ignoreFile?: string,
manifestFileIncludes?: string[],
readmePath?: string,
followSymlinks:boolean = false
followSymlinks: boolean = false
): Promise<string[]> {
readmePath = readmePath ?? 'README.md';
const notIgnored = ['!package.json', `!${readmePath}`];
Expand Down

0 comments on commit 7fbc8c6

Please sign in to comment.