Skip to content

Commit

Permalink
Fix #17290
Browse files Browse the repository at this point in the history
  • Loading branch information
sandy081 committed Dec 15, 2016
1 parent af4d0f3 commit b904ab2
Showing 1 changed file with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,9 +403,8 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService {
}

private fromGallery(gallery: IGalleryExtension): Extension {
const installedByGalleryId = index(this.installed, e => e.local.metadata ? e.local.metadata.id : '');
const id = gallery.id;
const installed = installedByGalleryId[id];
const installedByGalleryId = index(this.installed, e => e.identifier);
const installed = installedByGalleryId[`${gallery.publisher}.${gallery.name}`];

if (installed) {
// Loading the compatible version only there is an engine property
Expand Down

0 comments on commit b904ab2

Please sign in to comment.