fix: restore main type gates

This commit is contained in:
Peter Steinberger
2026-04-10 08:16:42 +01:00
parent 6517c700de
commit ef1694575d
3 changed files with 6 additions and 4 deletions

View File

@@ -511,7 +511,7 @@ describe("exec-policy CLI", () => {
it("does not clobber a newer approvals write during rollback", async () => {
const originalApprovals = structuredClone(mocks.getApprovals());
const originalRaw = JSON.stringify(originalApprovals, null, 2);
const originalSnapshot: ExecApprovalsSnapshot = {
const originalSnapshot = {
path: "/tmp/exec-approvals.json",
exists: true,
raw: originalRaw,