提交 0e9418a6 编写于 作者: S Sandeep Somavarapu

#19685 Use uuid to query local extensions from gallery

上级 4974adc5
......@@ -440,15 +440,15 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService {
}
private syncWithGallery(): TPromise<void> {
const names = this.installed
const ids = this.installed
.filter(e => e.type === LocalExtensionType.User)
.map(e => e.identifier);
.map(e => e.local.metadata.uuid);
if (names.length === 0) {
if (ids.length === 0) {
return TPromise.as(null);
}
return this.queryGallery({ names, pageSize: names.length }) as TPromise<any>;
return this.queryGallery({ ids, pageSize: ids.length }) as TPromise<any>;
}
private eventuallyAutoUpdateExtensions(): void {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册