fix: handle null action in hooks-mapping mergeAction call
This commit is contained in:
parent
b28e4e95c2
commit
d8201f8436
@ -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);
|
const merged = mergeAction(base.action, override, mapping.action);
|
||||||
if (!merged.ok) return merged;
|
if (!merged.ok) return merged;
|
||||||
return merged;
|
return merged;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user