提交 7fb10d17 编写于 作者: S Sandeep Somavarapu

fix #14409

上级 43e00376
...@@ -243,9 +243,9 @@ export class ExtensionManagementService implements IExtensionManagementService { ...@@ -243,9 +243,9 @@ export class ExtensionManagementService implements IExtensionManagementService {
} }
private rollback(localExtension: ILocalExtension, dependecies: IGalleryExtension[]): TPromise<void> { private rollback(localExtension: ILocalExtension, dependecies: IGalleryExtension[]): TPromise<void> {
return this.uninstall(localExtension) return this.doUninstall(localExtension.id)
.then(() => this.filterOutUninstalled(dependecies)) .then(() => this.filterOutUninstalled(dependecies))
.then(installed => TPromise.join(installed.map((i) => this.uninstall(i)))) .then(installed => TPromise.join(installed.map((i) => this.doUninstall(i.id))))
.then(() => null); .then(() => null);
} }
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册