Skip to content

Commit

Permalink
Restore version check (#190042) (#190074)
Browse files Browse the repository at this point in the history
Co-authored-by: Alexandru Dima <[email protected]>
  • Loading branch information
bpasero and alexdima authored Aug 9, 2023
1 parent fc85e5e commit 9ca413b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -127,8 +127,8 @@ export abstract class AbstractExtensionsProfileScannerService extends Disposable
await this.withProfileExtensions(profileLocation, profileExtensions => {
const result: IScannedProfileExtension[] = [];
for (const extension of profileExtensions) {
if (extensions.some(([e]) => areSameExtensions(e.identifier, extension.identifier))) {
// Remove the existing extension
if (extensions.some(([e]) => areSameExtensions(e.identifier, extension.identifier) && e.manifest.version !== extension.version)) {
// Remove the existing extension with different version
extensionsToRemove.push(extension);
} else {
result.push(extension);
Expand Down

0 comments on commit 9ca413b

Please sign in to comment.