diff options
author | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-03-24 12:35:47 +0300 |
---|---|---|
committer | Sandeep Somavarapu <sasomava@microsoft.com> | 2022-03-24 12:36:18 +0300 |
commit | ee0c8c4f018abe5331683270c1da63600057299a (patch) | |
tree | 7e9f87eb315e7a7a5acff6eacd838be7a1aa97e4 /src/vs/platform/userDataSync/common/extensionsSync.ts | |
parent | c21e34788ee1c0af293bbbf004a1b09cbc136a54 (diff) |
Fix #145794
Diffstat (limited to 'src/vs/platform/userDataSync/common/extensionsSync.ts')
-rw-r--r-- | src/vs/platform/userDataSync/common/extensionsSync.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/vs/platform/userDataSync/common/extensionsSync.ts b/src/vs/platform/userDataSync/common/extensionsSync.ts index d3411d42879..1e2b8007449 100644 --- a/src/vs/platform/userDataSync/common/extensionsSync.ts +++ b/src/vs/platform/userDataSync/common/extensionsSync.ts @@ -265,7 +265,7 @@ export class ExtensionsSynchroniser extends AbstractSynchroniser implements IUse this.logService.info(`${this.syncResourceLogLabel}: Updated remote extensions.${remote.added.length ? ` Added: ${JSON.stringify(remote.added.map(e => e.identifier.id))}.` : ''}${remote.updated.length ? ` Updated: ${JSON.stringify(remote.updated.map(e => e.identifier.id))}.` : ''}${remote.removed.length ? ` Removed: ${JSON.stringify(remote.removed.map(e => e.identifier.id))}.` : ''}`); } - if (lastSyncUserData?.ref !== remoteUserData.ref) { + if (this.hasToUpdateLastSyncUserData(remoteUserData, lastSyncUserData)) { // update last sync this.logService.trace(`${this.syncResourceLogLabel}: Updating last synchronized extensions...`); await this.updateLastSyncUserData(remoteUserData, { skippedExtensions }); |