refactor: prune test-only seams and obsolete helpers (#10275)

This commit is contained in:
morluto
2026-11-13 08:24:54 +08:00
committed by GitHub
parent a8527d43b8
commit 02ebd3e02d
291 changed files with 1882 additions and 1377 deletions
+3 -3
View File
@@ -73,9 +73,9 @@ const inferredReferenceForm = (architecture: string) =>
const failureForPrimary = (
facts: ArtifactFilePrimaryFacts,
path: string,
field: "path" | "binary_path" = "path",
maximum = INPUT_BYTES,
metadataPath = path,
field: "path" | "binary_path",
maximum: number,
metadataPath: string,
): AnalysisError => {
const { cause, origin } = facts;
if (origin === "owned-or-classified" && cause instanceof AnalysisError)