提交 9db85bee 编写于 作者: J Joao Moreno

return extension update event

fixes #11088
上级 5301a641
......@@ -387,7 +387,6 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService {
extension.local = local;
extension.needsRestart = true;
let eventName: string = 'extensionGallery:install';
this.installing = this.installing.filter(e => e.id !== id);
if (!error) {
......@@ -395,7 +394,7 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService {
const installed = this.installed.filter(e => (e.local.metadata && e.local.metadata.id) === galleryId)[0];
if (galleryId && installed) {
eventName = 'extensionGallery:update';
installing.operation = Operation.Updating;
installed.local = local;
} else {
this.installed.push(extension);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册