fix: respect "none" value for plugins.slots.memory

This commit is contained in:
André Abadesso 2026-01-23 23:33:40 -03:00
parent b6591c3f69
commit 3a59e93f27
No known key found for this signature in database
GPG Key ID: 9B6C808BE1591273

View File

@ -58,7 +58,7 @@ export const normalizePluginsConfig = (
deny: normalizeList(config?.deny),
loadPaths: normalizeList(config?.load?.paths),
slots: {
memory: memorySlot ?? defaultSlotIdForKey("memory"),
memory: memorySlot === undefined ? defaultSlotIdForKey("memory") : memorySlot,
},
entries: normalizePluginEntries(config?.entries),
};