diff options
Diffstat (limited to 'src/vs/platform/extensionManagement/common/extensionManagementUtil.ts')
-rw-r--r-- | src/vs/platform/extensionManagement/common/extensionManagementUtil.ts | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/src/vs/platform/extensionManagement/common/extensionManagementUtil.ts b/src/vs/platform/extensionManagement/common/extensionManagementUtil.ts index 5c6f4380295..2b143f85177 100644 --- a/src/vs/platform/extensionManagement/common/extensionManagementUtil.ts +++ b/src/vs/platform/extensionManagement/common/extensionManagementUtil.ts @@ -4,7 +4,7 @@ *--------------------------------------------------------------------------------------------*/ import { compareIgnoreCase } from 'vs/base/common/strings'; -import { IExtensionIdentifier, IGalleryExtension, ILocalExtension, IExtensionsControlManifest, getTargetPlatform } from 'vs/platform/extensionManagement/common/extensionManagement'; +import { IExtensionIdentifier, IGalleryExtension, ILocalExtension, getTargetPlatform } from 'vs/platform/extensionManagement/common/extensionManagement'; import { ExtensionIdentifier, IExtension, TargetPlatform } from 'vs/platform/extensions/common/extensions'; import { IFileService } from 'vs/platform/files/common/files'; import { isLinux, platform } from 'vs/base/common/platform'; @@ -146,18 +146,6 @@ export function getGalleryExtensionTelemetryData(extension: IGalleryExtension): export const BetterMergeId = new ExtensionIdentifier('pprice.better-merge'); -export function getMaliciousExtensionsSet(manifest: IExtensionsControlManifest): Set<string> { - const result = new Set<string>(); - - if (manifest.malicious) { - for (const extension of manifest.malicious) { - result.add(extension.id); - } - } - - return result; -} - export function getExtensionDependencies(installedExtensions: ReadonlyArray<IExtension>, extension: IExtension): IExtension[] { const dependencies: IExtension[] = []; const extensions = extension.manifest.extensionDependencies?.slice(0) ?? []; |