(pluginId: string)
| 25 | * Install should have cleared caches already; loadAllPlugins reads fresh. |
| 26 | */ |
| 27 | export async function findPluginOptionsTarget(pluginId: string): Promise<LoadedPlugin | undefined> { |
| 28 | const { |
| 29 | enabled, |
| 30 | disabled |
| 31 | } = await loadAllPlugins(); |
| 32 | return [...enabled, ...disabled].find(p => p.repository === pluginId || p.source === pluginId); |
| 33 | } |
| 34 | |
| 35 | /** |
| 36 | * A single dialog step in the walk. Top-level options and channels both |
no test coverage detected