mirror of
https://github.com/Microsoft/vscode
synced 2024-11-05 18:29:38 +00:00
revert the fix
This commit is contained in:
parent
bbc87176e2
commit
53f4cbddb7
1 changed files with 2 additions and 2 deletions
|
@ -9,7 +9,7 @@ import { URI } from 'vs/base/common/uri';
|
|||
import { createDecorator } from 'vs/platform/instantiation/common/instantiation';
|
||||
import { IExtensionPoint } from 'vs/workbench/services/extensions/common/extensionsRegistry';
|
||||
import { ExtensionIdentifier, IExtension, ExtensionType, IExtensionDescription, IExtensionContributions } from 'vs/platform/extensions/common/extensions';
|
||||
import { getExtensionId, getGalleryExtensionId } from 'vs/platform/extensionManagement/common/extensionManagementUtil';
|
||||
import { getGalleryExtensionId } from 'vs/platform/extensionManagement/common/extensionManagementUtil';
|
||||
import { IMessagePassingProtocol } from 'vs/base/parts/ipc/common/ipc';
|
||||
import { ExtensionActivationReason } from 'vs/workbench/api/common/extHostExtensionActivator';
|
||||
import { ApiProposalName } from 'vs/workbench/services/extensions/common/extensionsApiProposals';
|
||||
|
@ -344,7 +344,7 @@ export function toExtension(extensionDescription: IExtensionDescription): IExten
|
|||
|
||||
export function toExtensionDescription(extension: IExtension, isUnderDevelopment?: boolean): IExtensionDescription {
|
||||
return {
|
||||
identifier: new ExtensionIdentifier(getExtensionId(extension.manifest.publisher, extension.manifest.name)),
|
||||
identifier: new ExtensionIdentifier(extension.identifier.id),
|
||||
isBuiltin: extension.type === ExtensionType.System,
|
||||
isUserBuiltin: extension.type === ExtensionType.User && extension.isBuiltin,
|
||||
isUnderDevelopment: !!isUnderDevelopment,
|
||||
|
|
Loading…
Reference in a new issue