Skip to content

Commit 9aa3a00

Browse files
fix: fail deterministic audit before invoking provider
1 parent 44c6496 commit 9aa3a00

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

global-template/docgen/lib/pipeline.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
import * as base from './pipeline-base.mjs';
2+
import { guardedAudit } from './audit-guard.mjs';
23
import { budgetReport } from './provider.mjs';
34
import { ingestModels } from './indexer.mjs';
45
import { sourceSnapshot } from './core.mjs';
@@ -14,7 +15,9 @@ export async function model(root, { skipIndex = false } = {}) {
1415
}
1516
export const plan = base.plan;
1617
export const generate = base.generate;
17-
export const audit = base.audit;
18+
export async function audit(root) {
19+
return guardedAudit(root, base.audit);
20+
}
1821
export const publish = base.publish;
1922
export function status(root) {
2023
const result = base.status(root);

0 commit comments

Comments
 (0)