fix: handle null action in hooks-mapping mergeAction call

This commit is contained in:
Peter Steinberger 2026-01-03 02:05:01 +00:00
parent 5fdc26cd71
commit bb084e7a41

View File

@ -151,6 +151,7 @@ export async function applyHookMappings(
}
}
if (!base.action) return { ok: true, action: null, skipped: true };
const merged = mergeAction(base.action, override, mapping.action);
if (!merged.ok) return merged;
return merged;