refactor: return complete analysis results inline

This commit is contained in:
morluto
2026-09-29 08:07:24 +08:00
parent 07ff8b30ee
commit a2a3243ea8
127 changed files with 402 additions and 1508 deletions
@@ -6,7 +6,7 @@ import {
ArtifactOperationError,
EvidenceFileError,
HopperRemoteError,
InvestigationWorkspaceError,
WorkspaceStorageError,
UnknownRegistryError,
projectAnalysisError,
type AnalysisError,
@@ -53,7 +53,7 @@ describe("analysis error projection contract", () => {
"name-conflict",
"io",
] as const
).map((reason) => new InvestigationWorkspaceError("update", reason)),
).map((reason) => new WorkspaceStorageError("update", reason)),
...(
[
"not-found",