提交 79bad51e 编写于 作者: J Joao Moreno

fixes #12874

上级 50fad85b
......@@ -405,7 +405,7 @@ export class ExtensionManagementService implements IExtensionManagementService {
}
private getOutdatedExtensionIds(): TPromise<ILocalExtension[]> {
return this.scanUserExtensions()
return this.scanExtensions(this.extensionsPath, LocalExtensionType.User)
.then(extensions => values(groupBy(extensions, p => `${ p.manifest.publisher }.${ p.manifest.name }`)))
.then(versions => flatten(versions.map(p => p.sort((a, b) => semver.rcompare(a.manifest.version, b.manifest.version)).slice(1))));
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册