fix: doctor plugin-id mapping for channel auto-enable (#25275) (thanks @zerone0x)

This commit is contained in:
Peter Steinberger
2026-02-24 14:35:25 +00:00
parent 203de14211
commit 3b4dac764b
3 changed files with 3 additions and 5 deletions

View File

@@ -502,8 +502,7 @@ export function applyPluginAutoEnable(params: {
manifestRegistry?: PluginManifestRegistry;
}): PluginAutoEnableResult {
const env = params.env ?? process.env;
const registry =
params.manifestRegistry ?? loadPluginManifestRegistry({ config: params.config });
const registry = params.manifestRegistry ?? loadPluginManifestRegistry({ config: params.config });
const configured = resolveConfiguredPlugins(params.config, env, registry);
if (configured.length === 0) {
return { config: params.config, changes: [] };