提交 c76eefbf 编写于 作者: S Sandeep Somavarapu

Do not filter unisntalled extensions again. Scanned extensions does it already

上级 43f2e070
......@@ -651,8 +651,6 @@ export class ExtensionManagementService implements IExtensionManagementService {
const unInstalledExtensionIds = Object.keys(uninstalled);
return this.scanUserExtensions(false)
.then(extensions => {
// Exclude uninstalled extensions
extensions = extensions.filter(e => unInstalledExtensionIds.indexOf(e.identifier.id) === -1);
const byExtension: ILocalExtension[][] = groupByExtension(extensions, e => ({ id: getGalleryExtensionIdFromLocal(e), uuid: e.identifier.uuid }));
const outDatedExtensionIds = flatten(byExtension.map(p => p.sort((a, b) => semver.rcompare(a.manifest.version, b.manifest.version)).slice(1)))
.map(a => a.identifier.id);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册