diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2021-08-18 21:41:45 +0300 |
---|---|---|
committer | Sandeep Somavarapu <sasomava@microsoft.com> | 2021-08-18 21:41:45 +0300 |
commit | e045e3b1b25de81232b7db32747f31bf90d02d13 (patch) | |
tree | 246fd438a1783c82df26079dca0c6e10cb3a1143 /src/vs/platform/userDataSync/common/extensionsSync.ts | |
parent | 362bd6e4b4ac446a89379e5e6f0d3081114c5522 (diff) |
introduce target platforms support
Diffstat (limited to 'src/vs/platform/userDataSync/common/extensionsSync.ts')
-rw-r--r-- | src/vs/platform/userDataSync/common/extensionsSync.ts | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vs/platform/userDataSync/common/extensionsSync.ts b/src/vs/platform/userDataSync/common/extensionsSync.ts index 67b568b4691..44b17235da8 100644 --- a/src/vs/platform/userDataSync/common/extensionsSync.ts +++ b/src/vs/platform/userDataSync/common/extensionsSync.ts @@ -14,7 +14,7 @@ import { compare } from 'vs/base/common/strings'; import { URI } from 'vs/base/common/uri'; import { IConfigurationService } from 'vs/platform/configuration/common/configuration'; import { IEnvironmentService } from 'vs/platform/environment/common/environment'; -import { IExtensionGalleryService, IExtensionManagementService, IGlobalExtensionEnablementService, ILocalExtension } from 'vs/platform/extensionManagement/common/extensionManagement'; +import { IExtensionGalleryService, IExtensionManagementService, IGlobalExtensionEnablementService, ILocalExtension, CURRENT_TARGET_PLATFORM } from 'vs/platform/extensionManagement/common/extensionManagement'; import { areSameExtensions, getExtensionId, getGalleryExtensionId } from 'vs/platform/extensionManagement/common/extensionManagementUtil'; import { ExtensionType, IExtensionIdentifier } from 'vs/platform/extensions/common/extensions'; import { IFileService } from 'vs/platform/files/common/files'; @@ -375,7 +375,7 @@ export class ExtensionsSynchroniser extends AbstractSynchroniser implements IUse } // User Extension Sync: Install/Update, Enablement & State - const extension = await this.extensionGalleryService.getCompatibleExtension(e.identifier); + const extension = await this.extensionGalleryService.getCompatibleExtension(e.identifier, CURRENT_TARGET_PLATFORM); /* Update extension state only if * extension is installed and version is same as synced version or |