Skip to content

Commit 068357d

Browse files
authored
Use a better check for determining if an extension is a theme extension (microsoft#167457)
1 parent a3bde69 commit 068357d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/vs/workbench/services/issue/electron-sandbox/issueService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export class WorkbenchIssueService implements IWorkbenchIssueService {
4747
extensionData.push(...enabledExtensions.map((extension): IssueReporterExtensionData => {
4848
const { manifest } = extension;
4949
const manifestKeys = manifest.contributes ? Object.keys(manifest.contributes) : [];
50-
const isTheme = !manifest.activationEvents && manifestKeys.length === 1 && manifestKeys[0] === 'themes';
50+
const isTheme = !manifest.main && !manifest.browser && manifestKeys.length === 1 && manifestKeys[0] === 'themes';
5151
const isBuiltin = extension.type === ExtensionType.System;
5252
return {
5353
name: manifest.name,

0 commit comments

Comments
 (0)