提交 079dd3b6 编写于 作者: S Sandeep Somavarapu

#55057 Consider built in extensions if they are dependencies while enabling or disabling

上级 40723965
......@@ -806,8 +806,7 @@ export class ExtensionsWorkbenchService implements IExtensionsWorkbenchService,
if (i.enablementState === enablementState) {
return false;
}
return i.type === LocalExtensionType.User
&& (options.dependencies || options.pack)
return (options.dependencies || options.pack)
&& extensions.some(extension =>
(options.dependencies && extension.dependencies.some(id => areSameExtensions({ id }, i)))
|| (options.pack && extension.extensionPack.some(id => areSameExtensions({ id }, i)))
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册