(plugins: LoadedPlugin[])
| 389 | * settings don't create installation records with scope 'managed'. |
| 390 | */ |
| 391 | export function filterManagedDisabledPlugins(plugins: LoadedPlugin[]): LoadedPlugin[] { |
| 392 | return plugins.filter(plugin => { |
| 393 | const marketplace = plugin.source.split('@')[1] || 'local'; |
| 394 | return !isPluginBlockedByPolicy(`${plugin.name}@${marketplace}`); |
| 395 | }); |
| 396 | } |
| 397 | export function ManagePlugins({ |
| 398 | setViewState: setParentViewState, |
| 399 | setResult, |
no test coverage detected