mirror of
https://github.com/morluto/rea.git
synced 2026-11-16 11:43:20 +00:00
fix(artifacts): require each reader traversal to declare its coverage (#10572)
* fix(artifacts): require each reader traversal to declare its coverage * docs(artifacts): state that silent traversals report unknown coverage
This commit is contained in:
1 parent
e53212655b
commit
2f4c588584
36 files changed
+413
-117
No files matched your search
@@ -120,6 +120,7 @@ export class UnityFsArtifactReader implements ArtifactReader {
|
||||
}
|
||||
// A close while paused at yield must not turn a cleared map into completion.
|
||||
this.#assertOpen(signal);
|
||||
options?.onCoverage?.({ status: "complete", limitations: [] });
|
||||
}
|
||||
|
||||
async open(entry: ArtifactEntry, signal?: AbortSignal): Promise<Readable> {
|
||||
|
||||
Reference in new issue
Block a user