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 b28e4e95c2
commit d8201f8436

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;