mirror of
https://github.com/morluto/rea.git
synced 2026-12-05 06:21:12 +00:00
refactor(views): share bounded parent and report limitations (#14902)
This commit is contained in:
1 parent
670e70587a
commit
2874a6e21f
42 files changed
+102
-234
No files matched your search
@@ -13,7 +13,7 @@ import {
|
||||
import { invalidAnalysisView } from "./analysisViewErrors.js";
|
||||
import { createAnalysisViewResultReader } from "./analysisViewParent.js";
|
||||
import {
|
||||
boundedViewMessages,
|
||||
boundedViewLimitations,
|
||||
completeWithinViewCoverage,
|
||||
pageViewCoverage,
|
||||
} from "./analysisViewCoverage.js";
|
||||
@@ -79,11 +79,7 @@ export const projectPythonPycView = (
|
||||
path: identity.artifact.path,
|
||||
sha256: identity.artifact.sha256,
|
||||
},
|
||||
limitations: boundedViewMessages(
|
||||
[...parent.limitations, ...limitations],
|
||||
parent.evidenceId,
|
||||
"limitations",
|
||||
),
|
||||
limitations: boundedViewLimitations(parent, limitations),
|
||||
unknowns: [],
|
||||
};
|
||||
if (view.kind === "summary")
|
||||
|
||||
Reference in new issue
Block a user