114
// Remotely removed extension => exist in base and does not in remote
115
for (const key of baseToRemote.removed.values()) {
117
>
if (!localExtension) {
118
continue;
119
}
120
121
>
const baseExtension = assertReturnsDefined(lastSyncExtensionsMap?.get(key));
extensionsMerge.ts
122
>
const wasAnInstalledExtensionDuringLastSync = lastSyncBuiltinExtensionsSet && !lastSyncBuiltinExtensionsSet.has(key) && baseExtension.installed;
123
>
if (localExtension.installed && wasAnInstalledExtensionDuringLastSync /* It is an installed extension now and during last sync */) {
124
// Installed extension is removed from remote. Remove it from local.
125
removed.push(localExtension.identifier);